Skip to content

Commit 36eb738

Browse files
committed
Another attempt to fix maturin publish step with the pyo3 action
1 parent c2689eb commit 36eb738

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
uses: PyO3/maturin-action@v1
2828
with:
2929
target: ${{ matrix.target }}
30-
args: -m ./gridkit-py --release --out dist --find-interpreter
30+
args: --release --out dist --find-interpreter
3131
sccache: "true"
3232
manylinux: auto
33+
working-directory: gridkit-py
3334
env:
3435
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
3536
- name: Upload wheels
@@ -59,8 +60,9 @@ jobs:
5960
uses: PyO3/maturin-action@v1
6061
with:
6162
target: ${{ matrix.target }}
62-
args: -m ./gridkit-py --release --out dist --find-interpreter
63+
args: --release --out dist --find-interpreter
6364
sccache: "true"
65+
working-directory: gridkit-py
6466
env:
6567
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
6668
- name: Upload wheels
@@ -89,8 +91,9 @@ jobs:
8991
uses: PyO3/maturin-action@v1
9092
with:
9193
target: ${{ matrix.target }}
92-
args: -m ./gridkit-py --release --out dist --find-interpreter
94+
args: --release --out dist --find-interpreter
9395
sccache: "true"
96+
working-directory: gridkit-py
9497
env:
9598
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
9699
- name: Upload wheels
@@ -113,7 +116,8 @@ jobs:
113116
uses: PyO3/maturin-action@v1
114117
with:
115118
command: sdist
116-
args: -m ./gridkit-py --out dist
119+
args: --out dist
120+
working-directory: gridkit-py
117121
env:
118122
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
119123
- name: Test installing dist

0 commit comments

Comments
 (0)