Skip to content

Commit

Permalink
Merge sdist artifact with wheel artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 12, 2024
1 parent 579f7b5 commit 37fb436
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,26 @@ jobs:

merge-artifacts:
name: Download and create one artifact from all jobs
needs: wheel
needs:
- sdist
- wheel
runs-on: ubuntu-20.04
steps:
- name: Download Artifacts
- name: Download sdist artifact
uses: actions/download-artifact@v4
with:
path: wheelhouse
path: dist
name: sdist

- name: Download wheel artifacts
uses: actions/download-artifact@v4
with:
path: dist
pattern: wheels-*
merge-multiple: true

- run: ls -l wheelhouse

- uses: actions/upload-artifact@v4
with:
name: wheels
path: wheelhouse/*.whl
name: dist
path: dist
if-no-files-found: error

0 comments on commit 37fb436

Please sign in to comment.