Skip to content

Commit

Permalink
Install twice... based on the workaround from this actions/runner-ima…
Browse files Browse the repository at this point in the history
  • Loading branch information
KStocky committed Jul 14, 2024
1 parent 1622175 commit 5206fe1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/TestCompilerSupport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
run: dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC"

- name: Install MSVC 14.37
#shell: cmd
#run: call "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet --norestart --nocache --add Microsoft.VisualStudio.Component.VC.14.37.17.7.x86.x64
run: choco upgrade visualstudio2022enterprise --params "modify --installPath C:\Program Files\Microsoft Visual Studio\2022\Enterprise --add Microsoft.VisualStudio.Component.VC.14.37.17.7.x86.x64"
shell: cmd
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet --norestart --nocache --add Microsoft.VisualStudio.Component.VC.14.37.17.7.x86.x64
call "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet --norestart --nocache --add Microsoft.VisualStudio.Component.VC.14.37.17.7.x86.x64
#run: choco upgrade visualstudio2022enterprise --params "modify --installPath C:\Program Files\Microsoft Visual Studio\2022\Enterprise --add Microsoft.VisualStudio.Component.VC.14.37.17.7.x86.x64"

- name: List MSVC versions after
shell: cmd
Expand Down

0 comments on commit 5206fe1

Please sign in to comment.