Add artifact name to download before wheel PyPI upload (#1882)

Otherwise, the folder structure gets messed up, and twine errors out.
This commit is contained in:
Nicholas Junge 2024-11-29 12:06:08 +01:00 committed by GitHub
parent c58e6d0710
commit 4b0533b726
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ jobs:
merge_wheels: merge_wheels:
name: Merge all built wheels into one artifact name: Merge all built wheels into one artifact
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build_wheels needs: [build_sdist, build_wheels]
steps: steps:
- name: Merge wheels - name: Merge wheels
uses: actions/upload-artifact/merge@v4 uses: actions/upload-artifact/merge@v4
@ -96,5 +96,6 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: dist
path: dist path: dist
- uses: pypa/gh-action-pypi-publish@release/v1 - uses: pypa/gh-action-pypi-publish@release/v1