Skip to content

Commit

Permalink
make sure we get a valid archive name
Browse files Browse the repository at this point in the history
  • Loading branch information
renefritze committed Jan 11, 2024
1 parent 8b47139 commit 2545fb7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2545fb7

Please sign in to comment.