Skip to content

Commit 9fc890a

Browse files
authored
fix(ci): force interpreter version for maturin action (#422)
Signed-off-by: Luka Peschke <luka.peschke@toucantoco.com>
1 parent f0c08b9 commit 9fc890a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
with:
110110
manylinux: auto
111111
command: build
112-
args: "-o dist"
112+
args: "-o dist -i python${{ matrix.python-version }}"
113113
target: ${{ steps.target.outputs.target }}
114114

115115
- name: Upload wheels

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
manylinux: auto
2626
command: build
27-
args: "--release -o dist"
27+
args: "--release -o dist -i python${{ matrix.python-version }}"
2828
target: ${{ matrix.architecture == 'aarch64' && 'aarch64-unknown-linux-gnu' || null }}
2929
- name: Upload wheels
3030
uses: actions/upload-artifact@v5
@@ -48,7 +48,7 @@ jobs:
4848
uses: PyO3/maturin-action@v1
4949
with:
5050
command: build
51-
args: "--release -o dist"
51+
args: "--release -o dist -i python${{ matrix.python-version }}"
5252
target: ${{ matrix.architecture == 'aarch64' && 'aarch64-apple-darwin' || 'x86_64-apple-darwin' }}
5353
- name: Upload wheels
5454
uses: actions/upload-artifact@v5
@@ -72,7 +72,7 @@ jobs:
7272
uses: PyO3/maturin-action@v1
7373
with:
7474
command: build
75-
args: "--release -o dist"
75+
args: "--release -o dist -i python${{ matrix.python-version }}"
7676
- name: Upload wheels
7777
uses: actions/upload-artifact@v5
7878
with:

0 commit comments

Comments
 (0)