From 2545fb70a818c0baacd93c76be5d8ae91075cf91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Fritze?= Date: Wed, 10 Jan 2024 16:58:30 +0100 Subject: [PATCH] make sure we get a valid archive name --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7d8ed0e..9ddc661 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -113,11 +113,18 @@ jobs: else docker build --build-arg BASEOS=slim-bullseye --build-arg PLATFORM=manylinux -f .github/workflows/Dockerfile . fi + - name: Set artifact name + id: set_artifact_name + shell: bash -l {0} + run: | + VALUE="archive_wheels_${{ matrix.os }}_${{ matrix.arch }}_${{ matrix.skip }}" + VALUE="${VALUE//\*/}" + echo "value=${VALUE}" >> ${GITHUB_OUTPUT} - uses: actions/upload-artifact@v4 if: (!matrix.use_qemu) || fromJSON(env.USE_QEMU) with: path: ./wheelhouse/*.whl - name: archive_wheels_${{ matrix.os }}_${{ matrix.arch }}_${{ matrix.skip }} + name: ${{ steps.set_artifact_name.outputs.value }} build-sdist: name: Build source distribution