[CI] Fix Windows stderr not bubbling properly (#2925)

* [CI] Fix Windows stderr not bubbling properly

* Update windows-build.ps1
This commit is contained in:
Chris Miles 2023-02-13 21:41:29 -06:00 committed by GitHub
parent 536e248424
commit 02302802b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,3 @@
try
{
$cwd = Get-Location
Set-Location -Path "$cwd"
@ -21,6 +19,8 @@ try
cmake --build . --config RelWithDebInfo --clean-first
Set-Location -Path "$cwd"
if ($LASTEXITCODE -ne 0) { echo "Build emitted error"; exit 1 }
.\utils\scripts\build\should-release\should-release.exe; if ($LASTEXITCODE -ne 0) { exit }
# trim some fat
@ -39,11 +39,4 @@ try
rclone config create remote ftp env_auth true
rclone copy eqemu-server-windows-x64.zip remote: 2>&1
rclone ls remote: 2>&1
}
catch
{
Write-Host ("Caught signal to end")
Write-Host $_
}