From de67a8a5239933af6667297775a1eb411e4c2b9f Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Sat, 8 Jul 2023 14:04:31 -0500 Subject: [PATCH] Update windows.yml --- .github/workflows/windows.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8e07d2e..32c99ea 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,9 +23,9 @@ jobs: "Microsoft.VisualStudio.Component.WinXP" ) [string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_} - Invoke-WebRequest -URI "https://aka.ms/vs/17/release/vs_enterprise.exe" -OutFile "D:\a\TempDir\vs_enterprise.exe" + 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\TempDir\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" @@ -33,7 +33,7 @@ jobs: } else { - Write-Host "components were not downloaded" + Write-Host "components were not downloaded". exit 1 }