From a817595364b776ce6e91630cd1cd92c0b3091bfc Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Thu, 28 Nov 2024 19:14:19 +0100 Subject: [PATCH] Add artifact name to download before wheel PyPI upload 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 b463ff83d..e2a96bd06 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