diff --git a/.github/workflows/cpp-packaging.yml b/.github/workflows/cpp-packaging.yml index c65b2b4ba8..3202f1e6ca 100644 --- a/.github/workflows/cpp-packaging.yml +++ b/.github/workflows/cpp-packaging.yml @@ -394,6 +394,12 @@ jobs: if: startsWith(matrix.os, 'windows') uses: microsoft/setup-msbuild@v1.1 + # Force the build to use the stable 10.0.22621.0 SDK + - name: Set stable Windows SDK version + if: startsWith(matrix.os, 'windows') + shell: pwsh + run: echo "WindowsSDKVersion=10.0.22621.0" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + - name: Cache vcpkg C++ dependencies id: cache_vcpkg uses: actions/cache@v3