Skip to content

Commit 10bada5

Browse files
committed
Update
1 parent 7d3aabd commit 10bada5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,16 @@ jobs:
5555
uses: prefix-dev/setup-pixi@194d461b21b6c5717c722ffc597fa91ed2ff29fa # v0.9.1
5656
with:
5757
environments: build
58-
activate-environment: true
5958
- name: Set version
6059
run: pixi run -e build set-version
60+
- name: Get Python version interpreter path
61+
id: interpreter
62+
run: echo "path=$(pixi run -e build which python)" >> $GITHUB_OUTPUT
6163
- name: Build wheel
6264
uses: PyO3/maturin-action@86b9d133d34bc1b40018696f782949dac11bd380 # v1.49.4
6365
with:
6466
command: build
65-
args: --out dist -i python --release
67+
args: --out dist -i ${{ steps.interpreter.outputs.path }} --release
6668
manylinux: auto
6769
sccache: true
6870
- name: Check package

0 commit comments

Comments
 (0)