Skip to content

Commit 34aa1f8

Browse files
committed
check GH for VS2019
1 parent cf0e0f4 commit 34aa1f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
build:
77

8-
runs-on: windows-latest
8+
runs-on: windows-2019
99
strategy:
1010
matrix:
1111
build_configuration: [Release, Debug]
@@ -18,7 +18,7 @@ jobs:
1818
shell: powershell
1919
run: |
2020
Set-Location "C:\Program Files (x86)\Microsoft Visual Studio\Installer\"
21-
$InstallPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
21+
$InstallPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise"
2222
$WorkLoads = '--add Microsoft.VisualStudio.Component.WinXP'
2323
$Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"", $WorkLoads, '--quiet', '--norestart', '--nocache')
2424
$process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden

0 commit comments

Comments
 (0)