Use the latest c++ redist for windows build (#4864)

This commit is contained in:
RickiNano 2025-03-19 08:29:05 +01:00 committed by GitHub
commit 54768dc1a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ if (${LastExitCode} -ne 0) {
if (${env:RUN} -eq "artifact") {
$p = Get-Location
Invoke-WebRequest -Uri https://aka.ms/vs/16/release/vc_redist.x64.exe -OutFile "$p\vc_redist.x64.exe"
Invoke-WebRequest -Uri https://aka.ms/vs/17/release/vc_redist.x64.exe -OutFile "$p\vc_redist.x64.exe"
}
$env:cmake_path = Split-Path -Path(get-command cmake.exe).Path