Skip to content

Commit 2d17b25

Browse files
authored
Update issue1050.yml
1 parent 41fc8ff commit 2d17b25

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/issue1050.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ jobs:
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v4
13-
- name: Install Python and pip on Windows
13+
- name: Install Python 3.13
1414
run: |
15-
choco install python --version=3.13
16-
python -m pip install --upgrade pip
15+
# Download Python installer
16+
Invoke-WebRequest -Uri https://www.python.org/ftp/python/3.13.0/python-3.13.0.exe -OutFile python-3.13.0.exe
17+
18+
# Run the installer (install for all users, add to PATH, and install pip)
19+
Start-Process -Wait -FilePath .\python-3.13.0.exe -ArgumentList '/quiet', 'InstallAllUsers=1', 'PrependPath=1', 'Include_pip=1'
20+
21+
# Clean up the installer
22+
Remove-Item -Force .\python-3.13.0.exe
1723
1824
- name: Set up Python
1925
uses: gowridurgad/setup-python@v5

0 commit comments

Comments
 (0)