Skip to content

Commit b4cea06

Browse files
build: fix can't find interpreter issue on linux
1 parent e194954 commit b4cea06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: PyO3/maturin-action@v1
3131
with:
3232
target: ${{ matrix.target }}
33-
args: --release --out dist -i 3.10
33+
args: --release --out dist --find-interpreter
3434
sccache: 'true'
3535
manylinux: auto
3636
- name: Upload wheels
@@ -54,7 +54,7 @@ jobs:
5454
uses: PyO3/maturin-action@v1
5555
with:
5656
target: ${{ matrix.target }}
57-
args: --release --out dist
57+
args: --release --out dist --find-interpreter
5858
sccache: 'true'
5959
- name: Upload wheels
6060
uses: actions/upload-artifact@v3
@@ -76,7 +76,7 @@ jobs:
7676
uses: PyO3/maturin-action@v1
7777
with:
7878
target: ${{ matrix.target }}
79-
args: --release --out dist
79+
args: --release --out dist --find-interpreter
8080
sccache: 'true'
8181
- name: Upload wheels
8282
uses: actions/upload-artifact@v3
@@ -92,7 +92,7 @@ jobs:
9292
uses: PyO3/maturin-action@v1
9393
with:
9494
command: sdist
95-
args: --out dist
95+
args: --out dist --find-interpreter
9696
- name: Upload sdist
9797
uses: actions/upload-artifact@v3
9898
with:

0 commit comments

Comments
 (0)