Skip to content

Commit

Permalink
Don't reuse artifact for pypi upload (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd authored Oct 2, 2024
1 parent b007a07 commit 5709e4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

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

upload_pypi:
Expand All @@ -43,8 +44,9 @@ jobs:
- uses: actions/download-artifact@v4.1.8
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
# https://github.com/actions/upload-artifact/issues/480#issuecomment-1937762859
pattern: artifacts-*
merge-multiple: true
path: dist

- name: Publish package distributions to PyPI
Expand Down

0 comments on commit 5709e4a

Please sign in to comment.