Skip to content

Commit

Permalink
check GH for VS2019
Browse files Browse the repository at this point in the history
  • Loading branch information
chcg committed Jan 6, 2024
1 parent cf0e0f4 commit 34aa1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
build:

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

0 comments on commit 34aa1f8

Please sign in to comment.