File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,7 +243,8 @@ jobs:
243243 Write-Host "Installing Visual Studio 2025 Build Tools Preview..."
244244
245245 # Download VS installer
246- # Note: This URL points to the preview version. When VS 2025 is officially released,
246+ # Note: Using aka.ms redirect URL per Microsoft's standard distribution method.
247+ # This URL points to the preview version. When VS 2025 is officially released,
247248 # verify and update the URL from Microsoft's official documentation.
248249 # If the URL becomes unavailable, the error handling below will catch it and skip the build.
249250 $installerUrl = "https://aka.ms/vs/18/pre/vs_BuildTools.exe"
@@ -268,6 +269,7 @@ jobs:
268269
269270 $process = Start-Process -FilePath $installerPath -ArgumentList $arguments -Wait -PassThru -NoNewWindow
270271
272+ # Exit codes: 0 = success, 3010 = success with reboot required (common for VS installers)
271273 if ($process.ExitCode -eq 0 -or $process.ExitCode -eq 3010) {
272274 Write-Host "Visual Studio 2025 Build Tools installed successfully"
273275 echo "VS_2025_AVAILABLE=true" >> $env:GITHUB_ENV
You can’t perform that action at this time.
0 commit comments