Skip to content

Commit

Permalink
ci: give unique names to wheel artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Apr 11, 2024
1 parent cb9be47 commit ee37f82
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,10 @@ jobs:

- name: Build wheels
uses: pypa/[email protected]
# (here: set these in pyproject.toml to the extent possible)
# env:
# CIBW_SOME_OPTION: value
# ...
# with:
# package-dir: .
# output-dir: wheelhouse
# config-file: "{package}/pyproject.toml"

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

build_sdist:
Expand All @@ -45,6 +38,7 @@ jobs:

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

upload_pypi:
Expand All @@ -57,10 +51,10 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
# unpacks all CIBW artifacts into dist/
pattern: cibw-*
path: dist
merge-multiple: true

- uses: pypa/[email protected]
with:
Expand Down

0 comments on commit ee37f82

Please sign in to comment.