From d9f460c0389a1ee8aea26bfc30d3515c705c596e Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Wed, 27 Dec 2023 20:37:32 +0100 Subject: [PATCH] Update upload-artifact usage --- .github/workflows/python.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 1fd0e88c..284d720e 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -71,9 +71,9 @@ jobs: manylinux: auto working-directory: bindings/python - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{ matrix.target }} path: bindings/python/dist if-no-files-found: error - name: pytest @@ -108,9 +108,9 @@ jobs: sccache: "true" working-directory: bindings/python - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows-${{ matrix.target }} path: bindings/python/dist if-no-files-found: error - name: pytest @@ -144,9 +144,9 @@ jobs: sccache: "true" working-directory: bindings/python - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos-${{ matrix.target }} path: bindings/python/dist if-no-files-found: error - name: pytest @@ -173,9 +173,9 @@ jobs: args: --out dist working-directory: bindings/python - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: bindings/python/dist if-no-files-found: error @@ -187,7 +187,9 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: wheels + path: wheels + pattern: wheels-* + merge-multiple: true - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: