Skip to content

Commit

Permalink
Use terminal logger
Browse files Browse the repository at this point in the history
Use the new MSBuild terminal logger.
  • Loading branch information
martincostello authored Nov 5, 2023
1 parent dca19e8 commit a0f8700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function DotNetPack {
$additionalArgs += $VersionSuffix
}

& $dotnet pack $Project --include-symbols --include-source $additionalArgs
& $dotnet pack $Project --include-symbols --include-source --tl $additionalArgs

if ($LASTEXITCODE -ne 0) {
throw "dotnet pack failed with exit code $LASTEXITCODE"
Expand All @@ -102,7 +102,7 @@ function DotNetTest {
$additionalArgs += "GitHubActions;report-warnings=false"
}

& $dotnet test $Project --configuration "Release" $additionalArgs
& $dotnet test $Project --configuration "Release" --tl $additionalArgs

if ($LASTEXITCODE -ne 0) {
throw "dotnet test failed with exit code $LASTEXITCODE"
Expand Down

0 comments on commit a0f8700

Please sign in to comment.