Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…main/examples/github-deploy.yml and reverting recent commit
  • Loading branch information
rpoleski committed Dec 4, 2024
1 parent d4953d1 commit 31ad02b
Showing 1 changed file with 23 additions and 14 deletions.
37 changes: 23 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Skips PyPy
os: [ubuntu-latest, macos-latest]
cibw_archs: [auto64, arm64]
cibw_build: [cp38, cp39, cp310, cp311]
cibw_build: [cp38-*, cp39-*, cp310-*, cp311-*]
cibw_skip: [pp*]
exclude:
- os: ubuntu-latest
Expand All @@ -44,7 +44,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: wheelhouse-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }}
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl

build_source:
Expand All @@ -69,8 +69,8 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: sdist
path: ./dist/*.tar.gz
name: cibw-sdist
path: dist/*.tar.gz

publish:
name: Publish to PyPI
Expand All @@ -81,17 +81,26 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Download sdist artifacts to dist/
uses: actions/[email protected]
with:
name: sdist
path: dist/

- name: Download wheelhouse artifacts to dist/
uses: actions/[email protected]
steps:
- name: Download sdist and wheelhouse artifacts to dist/
uses: actions/download-artifact@v4
with:
name: wheelhouse
path: dist/
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

# - name: Download sdist artifacts to dist/
# uses: actions/download-artifact@v4
# with:
# name: sdist
# path: dist/

# - name: Download wheelhouse artifacts to dist/
# uses: actions/download-artifact@v4
# with:
# name: wheelhouse
# path: dist/

- name: Publish package to PyPI
# All files in dist/ are published
Expand Down

0 comments on commit 31ad02b

Please sign in to comment.