From c897224e7b69b05b3ac52d9c765862a959796d1f Mon Sep 17 00:00:00 2001 From: Justyna Wojtczak Date: Mon, 2 Dec 2024 22:09:55 +0100 Subject: [PATCH] Update publish.yml Fix string in name --- .github/workflows/publish.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fdd90cf5..d5a64fce 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,10 +41,15 @@ jobs: CIBW_ARCHS: ${{ matrix.cibw_archs }} CIBW_BUILD: ${{ matrix.cibw_build }} CIBW_SKIP: ${{ matrix.cibw_skip }} + + - name: Sanitize matrix.cibw_build + id: sanitize_build + run: echo "CIBW_BUILD_SANITIZED=$(echo '${{ matrix.cibw_build }}' | sed 's/\*/_/g')" >> $GITHUB_ENV + shell: bash - uses: actions/upload-artifact@v4 with: - name: wheelhouse-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ matrix.cibw_build }} + name: wheelhouse-${{ matrix.os }}-${{ matrix.cibw_archs }}-${{ env.CIBW_BUILD_SANITIZED }} path: ./wheelhouse/*.whl build_source: