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 af86c99 commit 529b9ad
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 @@ -82,7 +82,7 @@ if ($installDotNetSdk -eq $true) {
function DotNetPack {
param([string]$Project)

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

if ($LASTEXITCODE -ne 0) {
throw "dotnet pack failed with exit code $LASTEXITCODE"
Expand All @@ -99,7 +99,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 529b9ad

Please sign in to comment.