Skip to content

Commit

Permalink
Refs 17628: Fixed number of failures not being properly propagated to…
Browse files Browse the repository at this point in the history
… next steps

Signed-off-by: Javier Santiago <[email protected]>
  • Loading branch information
jsan-rt committed Jun 20, 2023
1 parent f8e9f0d commit 8e92bb0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/reusable-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,15 @@ jobs:
"::group::Crash dump files"
gci $dumpfolder | Sort-Object LastWriteTime
"::endgroup::"
}
if($failed)
{
$msg = "$failed test(s) failed"
"TestErrors=" + $msg | Out-File $Env:GITHUB_OUTPUT -Append
Write-Error $msg;
}
# Avoid disturbing exit code 1 message
$LASTEXITCODE=0
Expand Down

0 comments on commit 8e92bb0

Please sign in to comment.