Skip to content

Commit

Permalink
Test double building, just as a sanity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Jul 24, 2022
1 parent 5801fad commit 352ac78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/build-dotnet/Build-DotNetSolution.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 $_ }

Expand Down

0 comments on commit 352ac78

Please sign in to comment.