Skip to content

Commit 4bdd467

Browse files
committed
build.yml: Download and install MSVC
1 parent ab593a0 commit 4bdd467

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,9 @@ jobs:
187187
- run: git config --system --add safe.directory /__w/unified/unified
188188

189189
- name: Setup MSVC
190-
uses: ilammy/msvc-dev-cmd@v1
191-
with:
192-
arch: amd64
193-
vsversion: 2017
190+
run: |
191+
Invoke-WebRequest https://aka.ms/vs/15/release/vs_buildtools.exe -OutFile vs_buildtools.exe
192+
Start-Process -Wait -FilePath "vs_buildtools.exe" -ArgumentList "--quiet --wait --norestart --nocache --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.CMake.Project --add Microsoft.VisualStudio.Component.TestTools.BuildTools"
194193
195194
- name: Setup CMake
196195
uses: lukka/get-cmake@latest

0 commit comments

Comments
 (0)