Skip to content

Commit e2a0e92

Browse files
committed
update window python intepreter
1 parent e18d333 commit e2a0e92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/cross_platform_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535

3636
- name: Set up Python ${{ matrix.python-version }}
3737
uses: actions/setup-python@v4
38+
id: setup_python
3839
with:
3940
python-version: ${{ matrix.python-version }}
4041

@@ -89,6 +90,7 @@ jobs:
8990
- name: Build and install package with maturin
9091
uses: PyO3/maturin-action@v1
9192
with:
93+
python-interpreter: ${{ steps.setup_python.outputs.python-path }}
9294
target: ${{ matrix.os == 'macos-latest' && 'universal2-apple-darwin' || (matrix.os == 'windows-latest' && 'x86_64-pc-windows-msvc' || 'x86_64') }}
9395
command: develop
9496
args: --release
@@ -107,6 +109,7 @@ jobs:
107109
- name: Build wheel
108110
uses: PyO3/maturin-action@v1
109111
with:
112+
python-interpreter: ${{ steps.setup_python.outputs.python-path }}
110113
target: ${{ matrix.os == 'macos-latest' && 'universal2-apple-darwin' || (matrix.os == 'windows-latest' && 'x86_64-pc-windows-msvc' || 'x86_64') }}
111114
command: build
112115
args: --release

0 commit comments

Comments
 (0)