From 09a7b8bf2167a3958cec0045d102b6e68239aa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Borgna?= <121866228+aborgna-q@users.noreply.github.com> Date: Thu, 5 Sep 2024 14:38:43 +0100 Subject: [PATCH] ci: Fix wheels upload on different dir (#590) Fixes the fix from #587. I edited the workflow to run in the PR, so we can test it works (without an api key) Closes #586 --- .github/workflows/python-wheels.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index 7456b0a7..75c642cf 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -67,7 +67,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out ../dist --find-interpreter sccache: 'true' manylinux: auto working-directory: ${{ env.MODULE_DIR }} @@ -101,7 +101,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out ../dist --find-interpreter sccache: 'true' manylinux: musllinux_1_2 working-directory: ${{ env.MODULE_DIR }} @@ -132,7 +132,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out ../dist --find-interpreter sccache: 'true' working-directory: ${{ env.MODULE_DIR }} - name: Upload wheels @@ -161,7 +161,7 @@ jobs: uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist --find-interpreter + args: --release --out ../dist --find-interpreter sccache: 'true' working-directory: ${{ env.MODULE_DIR }} - name: Upload wheels @@ -180,7 +180,7 @@ jobs: uses: PyO3/maturin-action@v1 with: command: sdist - args: --out dist + args: --out ../dist working-directory: ${{ env.MODULE_DIR }} - name: Upload sdist uses: actions/upload-artifact@v4 @@ -202,4 +202,3 @@ jobs: with: command: upload args: --non-interactive --skip-existing wheels-*/* - working-directory: ${{ env.MODULE_DIR }}