From 529b9ad0c34630f3c730b80cc9857f237520986f Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Sun, 5 Nov 2023 16:36:21 +0000 Subject: [PATCH] Use terminal logger Use the new MSBuild terminal logger. --- build.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ps1 b/build.ps1 index c2f61bc6..9f548a33 100755 --- a/build.ps1 +++ b/build.ps1 @@ -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" @@ -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"