From 2cb7fa96b56d9ceaae0879b7b344ff7976765dba Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Sat, 8 Jul 2023 14:10:02 -0500 Subject: [PATCH] Update windows.yml --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index de2ef05..74935fa 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,7 +25,7 @@ jobs: [string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_} Invoke-WebRequest -URI "https://aka.ms/vs/17/release/vs_enterprise.exe" -OutFile "D:\a\_temp\vs_enterprise.exe" $Arguments = ('--layout', 'D:\a\VSLayout', $workloadArgs, '--silent') - $process = Start-Process -FilePath "D:\a\_temp\vs_enterprise.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle -RedirectStandardOutput -Hidden + $process = Start-Process -FilePath "D:\a\_temp\vs_enterprise.exe" -ArgumentList $Arguments -Wait -PassThru -WindowStyle -RedirectStandardOutput -Hidden if ($process.ExitCode -eq 0) { Write-Host "components have been successfully downloaded"