Skip to content

Commit

Permalink
ci: Fix wheels upload on different dir (#590)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aborgna-q authored Sep 5, 2024
1 parent f0884cc commit 09a7b8b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -202,4 +202,3 @@ jobs:
with:
command: upload
args: --non-interactive --skip-existing wheels-*/*
working-directory: ${{ env.MODULE_DIR }}

0 comments on commit 09a7b8b

Please sign in to comment.