From 4b0533b726dd8613f7d5fd0d1d044ce81f05651d Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Fri, 29 Nov 2024 12:06:08 +0100 Subject: [PATCH] Add artifact name to download before wheel PyPI upload (#1882) Otherwise, the folder structure gets messed up, and twine errors out. --- .github/workflows/wheels.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index b463ff83..e2a96bd0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -77,7 +77,7 @@ jobs: merge_wheels: name: Merge all built wheels into one artifact runs-on: ubuntu-latest - needs: build_wheels + needs: [build_sdist, build_wheels] steps: - name: Merge wheels uses: actions/upload-artifact/merge@v4 @@ -96,5 +96,6 @@ jobs: steps: - uses: actions/download-artifact@v4 with: + name: dist path: dist - uses: pypa/gh-action-pypi-publish@release/v1