Skip to content

Commit b3aaa08

Browse files
committed
- fix python version used for packaging to 3.8
- actually wait for python install to finish before trying to use it and update environment
1 parent f84fce7 commit b3aaa08

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ jobs:
1313

1414
- name: Checkout code
1515
uses: actions/checkout@v2
16+
- name: Set up Python 3.8
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: '3.8'
1620
- name: Build project # This would actually build your project, using zip for an example artifact
1721
run: |
1822
.\make.bat

src/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Write-Host "--- Installing Python runtime ---" -ForegroundColor blue
2-
.\python-install.exe /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 Include_launcher=0
2+
Start-Process -FilePath .\python-install.exe -ArgumentList "/quiet InstallAllUsers=1 PrependPath=1 Include_test=0 Include_launcher=0" -NoNewWindow -Wait
33
python.exe -m pip install --upgrade pip
44
Write-Host "--- Python runtime installed ---`n" -ForegroundColor green
55

0 commit comments

Comments
 (0)