diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 71a07a6..33f6bf9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,9 +27,9 @@ jobs: args: --release --out dist --sdist --find-interpreter manylinux: auto - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{ matrix.python-version }}-${{ matrix.target }} path: dist windows: @@ -50,9 +50,9 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --sdist --find-interpreter - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows-${{ matrix.python-version }}-${{ matrix.target }} path: dist macos: @@ -72,9 +72,9 @@ jobs: target: ${{ matrix.target }} args: --release --out dist --sdist --find-interpreter - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos-${{ matrix.python-version }}-${{ matrix.target }} path: dist release: @@ -83,9 +83,10 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" needs: [linux, windows, macos] steps: - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: