Skip to content

Commit ed402be

Browse files
committed
update action
1 parent 4dd4220 commit ed402be

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- name: Build wheels
4545
uses: PyO3/maturin-action@v1
4646
with:
47+
working-directory: bindings/python
4748
target: ${{ matrix.platform.target }}
4849
args: --release --out dist --find-interpreter
4950
sccache: 'true'
@@ -52,7 +53,7 @@ jobs:
5253
uses: actions/upload-artifact@v4
5354
with:
5455
name: wheels-linux-${{ matrix.platform.target }}
55-
path: dist
56+
path: bindings/python/dist
5657
- name: pytest
5758
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
5859
shell: bash
@@ -95,14 +96,15 @@ jobs:
9596
- name: Build wheels
9697
uses: PyO3/maturin-action@v1
9798
with:
99+
working-directory: bindings/python
98100
target: ${{ matrix.platform.target }}
99101
args: --release --out dist --find-interpreter
100102
sccache: 'true'
101103
- name: Upload wheels
102104
uses: actions/upload-artifact@v4
103105
with:
104106
name: wheels-windows-${{ matrix.platform.target }}
105-
path: dist
107+
path: bindings/python/dist
106108
- name: pytest
107109
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
108110
shell: bash
@@ -129,14 +131,15 @@ jobs:
129131
- name: Build wheels
130132
uses: PyO3/maturin-action@v1
131133
with:
134+
working-directory: bindings/python
132135
target: ${{ matrix.platform.target }}
133136
args: --release --out dist --find-interpreter
134137
sccache: 'true'
135138
- name: Upload wheels
136139
uses: actions/upload-artifact@v4
137140
with:
138141
name: wheels-macos-${{ matrix.platform.target }}
139-
path: dist
142+
path: bindings/python/dist
140143
- name: pytest
141144
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
142145
shell: bash
@@ -153,13 +156,14 @@ jobs:
153156
- name: Build sdist
154157
uses: PyO3/maturin-action@v1
155158
with:
159+
working-directory: bindings/python
156160
command: sdist
157161
args: --out dist
158162
- name: Upload sdist
159163
uses: actions/upload-artifact@v4
160164
with:
161165
name: wheels-sdist
162-
path: dist
166+
path: bindings/python/dist
163167

164168
release:
165169
name: Release

0 commit comments

Comments
 (0)