Skip to content

Commit c5366e4

Browse files
committed
Fix GitHub Actions working directory and path issues
- Remove working-directory: jesse-rust from all maturin actions - Update artifact paths from jesse-rust/dist to dist - This fixes the error where maturin was looking for files in wrong nested directory
1 parent 0dc1b3e commit c5366e4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jobs:
3232
args: --release --out dist --find-interpreter
3333
sccache: 'true'
3434
manylinux: auto
35-
working-directory: jesse-rust
3635

3736
- name: Upload wheels
3837
uses: actions/upload-artifact@v4
3938
with:
4039
name: wheels
41-
path: jesse-rust/dist
40+
path: dist
4241

4342
windows:
4443
runs-on: windows-latest
@@ -59,13 +58,12 @@ jobs:
5958
target: ${{ matrix.target }}
6059
args: --release --out dist --find-interpreter
6160
sccache: 'true'
62-
working-directory: jesse-rust
6361

6462
- name: Upload wheels
6563
uses: actions/upload-artifact@v4
6664
with:
6765
name: wheels
68-
path: jesse-rust/dist
66+
path: dist
6967

7068
macos:
7169
runs-on: macos-latest
@@ -85,13 +83,12 @@ jobs:
8583
target: ${{ matrix.target }}
8684
args: --release --out dist --find-interpreter
8785
sccache: 'true'
88-
working-directory: jesse-rust
8986

9087
- name: Upload wheels
9188
uses: actions/upload-artifact@v4
9289
with:
9390
name: wheels
94-
path: jesse-rust/dist
91+
path: dist
9592

9693
sdist:
9794
runs-on: ubuntu-latest
@@ -103,13 +100,12 @@ jobs:
103100
with:
104101
command: sdist
105102
args: --out dist
106-
working-directory: jesse-rust
107103

108104
- name: Upload sdist
109105
uses: actions/upload-artifact@v4
110106
with:
111107
name: wheels
112-
path: jesse-rust/dist
108+
path: dist
113109

114110
test:
115111
needs: [linux, windows, macos, sdist]

0 commit comments

Comments
 (0)