From 92171f74a3c58d24ecb422e755a8061473f93b50 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 20 Dec 2024 17:30:28 -0600 Subject: [PATCH] Use Python 3.12 to run builds on Windows --- .github/workflows/windows.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 10ca5f19..3d5a7bd0 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -106,7 +106,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Download pythonbuild Executable uses: actions/download-artifact@v4 @@ -117,14 +117,14 @@ jobs: # don't get compiled properly. - name: Bootstrap Python environment run: | - py.exe -3.9 build-windows.py --help + py.exe -3.12 build-windows.py --help - name: Build if: ${{ ! matrix.dry-run }} shell: cmd run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}" - py.exe -3.9 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }} + py.exe -3.12 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }} - name: Validate Distribution if: ${{ ! matrix.dry-run }}