Skip to content

Commit 17be0c3

Browse files
committed
Use NuGet in CI to get Python
1 parent 6855f1c commit 17be0c3

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,21 @@ jobs:
3030
}
3131
shell: powershell
3232

33-
- name: Set up Python 3.14
34-
uses: actions/setup-python@v5
35-
with:
36-
python-version: 3.14-dev
33+
#- name: Set up Python 3.14
34+
# uses: actions/setup-python@v5
35+
# with:
36+
# python-version: 3.14-dev
37+
38+
# We move faster than GitHub's Python runtimes, so use NuGet instead
39+
# One day we can use ourselves to download Python, but not yet...
40+
- name: Set up NuGet
41+
uses: nuget/[email protected]
42+
43+
- name: Set up Python 3.14.0b1
44+
run: |
45+
nuget install python -Version 3.14.0-b1 -x -o .
46+
(gi .\python*\tools\python.exe).Parent | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
47+
working-directory: ${{ runner.temp }}
3748

3849
- name: Install build dependencies
3950
run: python -m pip install "pymsbuild>=1.2.0b1"

0 commit comments

Comments
 (0)