Skip to content

Commit 2f7286f

Browse files
committed
ci: use Python 3.9 in Windows CI
Otherwise 3.10 is used and we get errors because pywin32==227 isn't not installable.
1 parent d7eb25a commit 2f7286f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ jobs:
7575
# don't get compiled properly.
7676
- name: Bootstrap Python environment
7777
run: |
78-
py.exe build-windows.py --help
78+
py.exe -3.9 build-windows.py --help
7979
8080
- name: Build
8181
shell: cmd
8282
run: |
8383
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
84-
py.exe build-windows.py --python ${{ matrix.py }} --sh c:\tools\cygwin\bin\sh.exe --profile ${{ matrix.profile }}
84+
py.exe -3.9 build-windows.py --python ${{ matrix.py }} --sh c:\tools\cygwin\bin\sh.exe --profile ${{ matrix.profile }}
8585
8686
- name: Validate Distribution
8787
run: |

0 commit comments

Comments
 (0)