Skip to content

Commit

Permalink
Merge pull request #107 from Lombiq/issue/OSOE-464-build-errors-not-f…
Browse files Browse the repository at this point in the history
…ailing

OSOE-464: Fixing that .NET build errors didn't fail the build
  • Loading branch information
Piedone authored Nov 20, 2022
2 parents 6783482 + 937fd22 commit eea1268
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ dotnet build $SolutionOrProject @buildSwitches 2>&1 | ForEach-Object {
if ($noErrors) { Write-Output "::error file=$file,line=$line,col=$column::$message" }
}

if ($noErrors -and !$?)
{
exit 1
}

# With node reuse, dotnet build spawns processes that while speed up build, they can cause dotnet test and other dotnet
# tools to randomly hang. So, here we shut down those processes for later actions.
# For details see: https://github.com/Lombiq/UI-Testing-Toolbox/issues/228.
Expand Down

0 comments on commit eea1268

Please sign in to comment.