diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 27cb4f92..7f1877ed 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -36,8 +36,9 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.17.0 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: cibuildwheel-${{ matrix.os }}-${{ matrix.arch }} path: ./wheelhouse/*.whl build_sdist: @@ -49,8 +50,9 @@ jobs: - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: + name: cibuildwheel-sdist path: dist/*.tar.gz upload_pypi: @@ -61,10 +63,11 @@ jobs: # alternatively, to publish when a GitHub Release is created, use the following rule: if: github.event_name == 'release' && github.event.action == 'published' steps: - - uses: actions/download-artifact@v2.1.1 + - uses: actions/download-artifact@v4 with: - name: artifact + pattern: "cibuildwheel-*" path: dist + merge-multiple: true - uses: pypa/gh-action-pypi-publish@v1.8.5 with: