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: