From 70ceca9d6874545f1c763ab4e533cb96d65056c6 Mon Sep 17 00:00:00 2001 From: Christoph Jabs Date: Mon, 18 Dec 2023 11:20:19 +0200 Subject: [PATCH] fix maturin workflow --- .github/workflows/pyapi.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pyapi.yml b/.github/workflows/pyapi.yml index 93a67e83..c78d1f76 100644 --- a/.github/workflows/pyapi.yml +++ b/.github/workflows/pyapi.yml @@ -39,7 +39,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{ matrix.target }} path: dist windows: @@ -62,7 +62,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows-${{ matrix.target }} path: dist macos: @@ -84,7 +84,7 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos-${{ matrix.target }} path: dist sdist: @@ -99,7 +99,7 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: dist release: @@ -108,13 +108,11 @@ jobs: if: "startsWith(github.ref, 'refs/tags/rustsat-v')" needs: [linux, windows, macos, sdist] steps: - - uses: actions/download-artifact@v3 - with: - name: wheels + - uses: actions/download-artifact@v4 - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload - args: --non-interactive --skip-existing * + args: --non-interactive --skip-existing wheels-*/*