diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7412d78..1419115 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,20 +40,20 @@ jobs: - name: Set up NuGet uses: nuget/setup-nuget@v2.0.1 - - name: Set up Python 3.14.0b1 + - name: Set up Python 3.14.0b2 run: | - nuget install python -Version 3.14.0-b1 -x -o . + nuget install python -Version 3.14.0-b2 -x -o . $py = Get-Item python\tools Write-Host "Adding $py to PATH" "$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append working-directory: ${{ runner.temp }} - - name: Check Python version is 3.14.0b1 + - name: Check Python version is 3.14.0b2 run: > python -c "import sys; print(sys.version); print(sys.executable); - sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 1) else 1)" + sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 2) else 1)" - name: Install build dependencies run: python -m pip install "pymsbuild>=1.2.0b1" diff --git a/ci/release.yml b/ci/release.yml index 4c3bdf8..838420d 100644 --- a/ci/release.yml +++ b/ci/release.yml @@ -87,11 +87,20 @@ stages: displayName: 'Install Nuget' - powershell: | - nuget install -o host_python -x -noninteractive -prerelease python - Write-Host "##vso[task.prependpath]$(gi host_python\python\tools)" - displayName: 'Install host Python' + nuget install python -Version 3.14.0-b2 -x -noninteractive -o host_python + $py = Get-Item host_python\python\tools + Write-Host "Adding $py to PATH" + Write-Host "##vso[task.prependpath]$py" + displayName: Set up Python 3.14.0b2 workingDirectory: $(Build.BinariesDirectory) + - powershell: > + python -c "import sys; + print(sys.version); + print(sys.executable); + sys.exit(0 if sys.version_info[:5] == (3, 14, 0, 'beta', 2) else 1)" + displayName: Check Python version is 3.14.0b2 + - powershell: | python -m pip install "pymsbuild>=1.2.0b1" displayName: 'Install build dependencies'