From 352ac78ef7a98ea64ab29206dccb1fdd4f1b23c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20El-Saig?= Date: Mon, 25 Jul 2022 00:41:00 +0200 Subject: [PATCH] Test double building, just as a sanity check. --- .github/actions/build-dotnet/Build-DotNetSolution.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/build-dotnet/Build-DotNetSolution.ps1 b/.github/actions/build-dotnet/Build-DotNetSolution.ps1 index e71dd6404..905849dc1 100644 --- a/.github/actions/build-dotnet/Build-DotNetSolution.ps1 +++ b/.github/actions/build-dotnet/Build-DotNetSolution.ps1 @@ -56,6 +56,8 @@ $errorLines = New-Object "System.Collections.Generic.List[string]" $errorCodes = New-Object "System.Collections.Generic.List[string]" $errorFormat = '^(.*)\((\d+),(\d+)\): error (.*)' +dotnet build $Solution @buildSwitches 2>&1 | Out-Null +bash -c 'true' dotnet build $Solution @buildSwitches 2>&1 | % { if ($_ -notmatch $errorFormat) { return $_ }