Skip to content

Commit c6cfc03

Browse files
author
Timothy Mothra Lee (from Dev Box)
committed
testing a alternative task to verify Windows SDK.
1 parent 211f681 commit c6cfc03

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/codeql-daily.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,12 @@ jobs:
6363
- name: Setup Visual Studio Build Tools
6464
uses: microsoft/setup-msbuild@v1
6565

66-
- name: Set up Windows SDK
67-
uses: ilammy/msvc-dev-cmd@v1
66+
# This step uses Microsoft's vswhere tool to verify that the official Windows 10 SDK (version 19041) is installed.
67+
# vswhere is a Microsoft-provided command-line utility that locates Visual Studio installations and their components.
68+
- name: Verify Windows SDK installation
69+
run: |
70+
& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -products * -requires Microsoft.VisualStudio.Component.Windows10SDK.19041 -property installationPath
71+
shell: pwsh
6872

6973
- name: Setup Gradle
7074
uses: gradle/actions/setup-gradle@v4

0 commit comments

Comments
 (0)