Skip to content

Commit 0086601

Browse files
committed
CI: Update Python on Windows Pip
1 parent a609b08 commit 0086601

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/windows.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,25 @@ jobs:
3434
if: github.event.pull_request.draft == false
3535
steps:
3636
- uses: actions/checkout@v4
37+
- uses: actions/setup-python@v6
38+
name: Install Python
39+
with:
40+
python-version: "3.10"
3741
- name: Build & Install
3842
run: |
39-
python3.exe -m pip install --upgrade pip setuptools wheel
40-
python3.exe -m pip install --upgrade cmake
41-
python3.exe -m pip install --upgrade numpy
43+
python3 -m pip install --upgrade pip setuptools wheel
44+
python3 -m pip install --upgrade cmake
45+
python3 -m pip install --upgrade numpy
4246
43-
python3.exe -m pip wheel .
47+
python3 -m pip wheel .
4448
if(!$?) { Exit $LASTEXITCODE }
45-
python3.exe -m pip install openPMD_api-0.17.0.dev0-cp39-cp39-win_amd64.whl
49+
python3 -m pip install "openPMD_api-*-win_amd64.whl"
4650
if(!$?) { Exit $LASTEXITCODE }
4751
48-
python3.exe -c "import openpmd_api as api; print(api.variants)"
52+
python3 -c "import openpmd_api as api; print(api.variants)"
4953
if(!$?) { Exit $LASTEXITCODE }
5054
51-
python3.exe -m openpmd_api.ls --help
55+
python3 -m openpmd_api.ls --help
5256
if(!$?) { Exit $LASTEXITCODE }
5357
5458
build_win_clang:

0 commit comments

Comments
 (0)