Update build.yml

This commit is contained in:
Jay Lee
2026-03-05 15:22:28 -05:00
committed by GitHub
parent 2fdab61fc8
commit 118e1e3ff5

View File

@@ -277,8 +277,8 @@ jobs:
exit 1 exit 1
} }
Write-Host "Found Visual Studio at: $vsPath" Write-Host "Found Visual Studio at: $vsPath"
Write-Host "Applying updates silently via local installer..." Write-Host "Applying updates via local installer..."
$arguments = "update --installPath `"$vsPath`" --quiet --norestart" $arguments = "update --installPath `"$vsPath`" --norestart"
$process = Start-Process -FilePath $installerPath -ArgumentList $arguments -Wait -PassThru $process = Start-Process -FilePath $installerPath -ArgumentList $arguments -Wait -PassThru
if ($process.ExitCode -eq 0) { if ($process.ExitCode -eq 0) {
Write-Host "Visual Studio updated successfully." Write-Host "Visual Studio updated successfully."