Skip to content

Commit fb145b2

Browse files
committed
actions: sdk version on CD
1 parent e36e66f commit fb145b2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/CD.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ jobs:
6464
with: { fetch-depth: 0 }
6565
- name: Setup MSBuild
6666
uses: microsoft/setup-msbuild@v2
67+
with:
68+
vs-version: '16.11'
69+
- name: Install VS2019 Build Tools and SDK
70+
shell: powershell
71+
run: |
72+
Invoke-WebRequest -Uri "https://aka.ms/vs/16/release/vs_buildtools.exe" -OutFile "vs_buildtools.exe"
73+
Start-Process -FilePath "vs_buildtools.exe" -ArgumentList `
74+
"--quiet", "--wait", "--norestart", "--nocache", `
75+
"--installPath", "C:\BuildTools", `
76+
"--add", "Microsoft.VisualStudio.Component.Windows10SDK.18362", `
77+
"--add", "Microsoft.VisualStudio.Component.VC.142.x86.x64" -Wait
6778
- name: Build
6879
env:
6980
RELEASE_BUILD: 1

0 commit comments

Comments
 (0)