Skip to content

Commit 16ca67f

Browse files
authored
skip install of winsdk (#2009)
1 parent 709fbab commit 16ca67f

File tree

2 files changed

+30
-22
lines changed

2 files changed

+30
-22
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,21 @@ jobs:
5454
echo $sdkmanagerpath
5555
. $sdkmanagerpath --install "platforms;android-30"
5656
57-
- name: Install Windows SDK 10.0.16299
58-
shell: pwsh
59-
run: |
60-
Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=864422 -OutFile winsdk.exe
61-
$startInfo = New-Object System.Diagnostics.ProcessStartInfo
62-
$startInfo.FileName = "winsdk.exe"
63-
$startInfo.Arguments = "/norestart /quiet"
64-
$process = New-Object System.Diagnostics.Process
65-
$process.StartInfo = $startInfo
66-
$process.Start()
67-
$process.WaitForExit()
57+
#- name: Download Windows SDK 10.0.16299
58+
# shell: pwsh
59+
# run: |
60+
# Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=864422 -OutFile winsdk.exe
61+
62+
#- name: Install Windows SDK 10.0.16299
63+
# shell: pwsh
64+
# run: |
65+
# $startInfo = New-Object System.Diagnostics.ProcessStartInfo
66+
# $startInfo.FileName = "winsdk.exe"
67+
# $startInfo.Arguments = "/norestart /quiet"
68+
# $process = New-Object System.Diagnostics.Process
69+
# $process.StartInfo = $startInfo
70+
# $process.Start()
71+
# $process.WaitForExit()
6872

6973
- name: Install .NET 8
7074
uses: actions/setup-dotnet@v4

.github/workflows/codeql-analysis.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,21 @@ jobs:
6666
echo $sdkmanagerpath
6767
. $sdkmanagerpath --install "platforms;android-30"
6868
69-
- name: Install Windows SDK 10.0.16299
70-
shell: pwsh
71-
run: |
72-
Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=864422 -OutFile winsdk.exe
73-
$startInfo = New-Object System.Diagnostics.ProcessStartInfo
74-
$startInfo.FileName = "winsdk.exe"
75-
$startInfo.Arguments = "/norestart /quiet"
76-
$process = New-Object System.Diagnostics.Process
77-
$process.StartInfo = $startInfo
78-
$process.Start()
79-
$process.WaitForExit()
69+
#- name: Download Windows SDK 10.0.16299
70+
# shell: pwsh
71+
# run: |
72+
# Invoke-WebRequest -Uri https://go.microsoft.com/fwlink/p/?linkid=864422 -OutFile winsdk.exe
73+
74+
#- name: Install Windows SDK 10.0.16299
75+
# shell: pwsh
76+
# run: |
77+
# $startInfo = New-Object System.Diagnostics.ProcessStartInfo
78+
# $startInfo.FileName = "winsdk.exe"
79+
# $startInfo.Arguments = "/norestart /quiet"
80+
# $process = New-Object System.Diagnostics.Process
81+
# $process.StartInfo = $startInfo
82+
# $process.Start()
83+
# $process.WaitForExit()
8084

8185
#- name: Setup .NET Core 3.1
8286
# uses: actions/setup-dotnet@v3

0 commit comments

Comments
 (0)