diff --git a/.github/actions/install-win-store-python/action.yml b/.github/actions/install-win-store-python/action.yml index 76619abe..eaf4966b 100644 --- a/.github/actions/install-win-store-python/action.yml +++ b/.github/actions/install-win-store-python/action.yml @@ -4,7 +4,7 @@ description: Installs Python from the Windows Store inputs: python-version: description: "Python version to install" - default: "3.11" # should default to the latest Python + default: "3.12" # should default to the latest Python required: false runs: @@ -16,6 +16,11 @@ runs: shell: powershell run: | switch ( "${{ inputs.python-version }}" ) { + "3.12" { + $StoreURL = "https://apps.microsoft.com/store/detail/python-312/9NCVDN91XZQP" + $ExeDir = Join-Path "$env:LOCALAPPDATA" "\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0" + $ScriptsDir = Join-Path "$env:LOCALAPPDATA" "\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts" + } "3.11" { $StoreURL = "https://apps.microsoft.com/store/detail/python-311/9NRWMJP3717K" $ExeDir = Join-Path "$env:LOCALAPPDATA" "\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 906697a3..01f364dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,7 +146,7 @@ jobs: timeout-minutes: 30 strategy: matrix: - python-version: [ "3.8", "3.9", "3.10", "3.11" ] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ] steps: - uses: actions/checkout@v4.1.0