Skip to content

Commit

Permalink
github/workflows/publish: fix artifact upload
Browse files Browse the repository at this point in the history
Make recommended changes to the artifact upload and download steps
as suggested by https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
  • Loading branch information
dlech committed May 4, 2024
1 parent 6a5497b commit b3f006b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: artifact-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -52,6 +53,7 @@ jobs:

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

upload_pypi:
Expand All @@ -62,7 +64,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-*
merge-multiple: true
path: dist

- uses: pypa/[email protected]
Expand Down

0 comments on commit b3f006b

Please sign in to comment.