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 committed Nov 9, 2023
1 parent 4300f91 commit ff3a891
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 @@ -86,7 +86,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 @@ -103,7 +103,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 ff3a891

Please sign in to comment.