diff --git a/.github/workflows/cibuildwheels.yml b/.github/workflows/cibuildwheels.yml index 08a99cfb..c58701f9 100644 --- a/.github/workflows/cibuildwheels.yml +++ b/.github/workflows/cibuildwheels.yml @@ -67,8 +67,9 @@ jobs: uses: pypa/cibuildwheel@v2.22 - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.p_ver }} path: ./wheelhouse/*.whl @@ -99,6 +100,7 @@ jobs: - name: Upload sdist package uses: actions/upload-artifact@v4 with: + name: wheels-source path: dist/*.tar.gz - name: Build building extension from sdist package @@ -120,10 +122,10 @@ jobs: # Only upload wheels when tagging (typically a release) if: startsWith(github.event.ref, 'refs/tags') steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: artifact - path: dist + pattern: wheels-* # Download the wheels artifact + merge-multiple: true # Merge all the wheels artifacts into one directory - uses: pypa/gh-action-pypi-publish@release/v1 with: