Skip to content

Commit e3f3b85

Browse files
committed
Pin Windows SDK version
1 parent 1097939 commit e3f3b85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,12 @@ jobs:
394394
if: startsWith(matrix.os, 'windows')
395395
uses: microsoft/[email protected]
396396

397+
# Force the build to use the stable 10.0.22621.0 SDK
398+
- name: Set stable Windows SDK version
399+
if: startsWith(matrix.os, 'windows')
400+
shell: pwsh
401+
run: echo "WindowsSDKVersion=10.0.22621.0" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
402+
397403
- name: Cache vcpkg C++ dependencies
398404
id: cache_vcpkg
399405
uses: actions/cache@v3

0 commit comments

Comments
 (0)