mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 20:51:29 +00:00
[CI] Fix Windows stderr not bubbling properly (#2925)
* [CI] Fix Windows stderr not bubbling properly * Update windows-build.ps1
This commit is contained in:
parent
536e248424
commit
02302802b8
@ -1,5 +1,3 @@
|
|||||||
try
|
|
||||||
{
|
|
||||||
$cwd = Get-Location
|
$cwd = Get-Location
|
||||||
|
|
||||||
Set-Location -Path "$cwd"
|
Set-Location -Path "$cwd"
|
||||||
@ -21,6 +19,8 @@ try
|
|||||||
cmake --build . --config RelWithDebInfo --clean-first
|
cmake --build . --config RelWithDebInfo --clean-first
|
||||||
Set-Location -Path "$cwd"
|
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 }
|
.\utils\scripts\build\should-release\should-release.exe; if ($LASTEXITCODE -ne 0) { exit }
|
||||||
|
|
||||||
# trim some fat
|
# trim some fat
|
||||||
@ -39,11 +39,4 @@ try
|
|||||||
rclone config create remote ftp env_auth true
|
rclone config create remote ftp env_auth true
|
||||||
rclone copy eqemu-server-windows-x64.zip remote: 2>&1
|
rclone copy eqemu-server-windows-x64.zip remote: 2>&1
|
||||||
rclone ls remote: 2>&1
|
rclone ls remote: 2>&1
|
||||||
}
|
|
||||||
catch
|
|
||||||
{
|
|
||||||
Write-Host ("Caught signal to end")
|
|
||||||
Write-Host $_
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user