Skip to content

Commit

Permalink
The terminal logging was disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
ww898 committed Dec 23, 2024
1 parent a753176 commit ad81cd3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:

runs-on: ${{ matrix.os }}

env:
MSBUILDTERMINALLOGGER: off

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -52,6 +55,7 @@ jobs:
runs-on: ${{ matrix.os }}

env:
MSBUILDTERMINALLOGGER: off
DotNetSdkX64: "~/.dotnet-sdk/x64"
DotNetSdkArm64: "~/.dotnet-sdk/arm64"

Expand Down Expand Up @@ -104,6 +108,7 @@ jobs:
dnf install -y crypto-policies-scripts dotnet-sdk-${{ env.sdk }} && \
update-crypto-policies --set DEFAULT:SHA1 && \
cd /work && \
export MSBUILDTERMINALLOGGER=off && \
dotnet restore -p:JB_TargetFramework=${{ env.tfm }} && \
dotnet test -f ${{ env.tfm }} -p:JB_TargetFramework=${{ env.tfm }} --configuration Release --no-restore --verbosity normal --logger 'trx;LogFilePrefix=test-results' && \
true"
Expand Down Expand Up @@ -135,6 +140,7 @@ jobs:
- ${{ matrix.os-labels }}

env:
MSBUILDTERMINALLOGGER: off
tfm: ${{ (contains(matrix.os-labels, 'riscv64') || contains(matrix.os-labels, 'ppc64le')) && 'net9.0' || 'net8.0' }}

steps:
Expand Down

0 comments on commit ad81cd3

Please sign in to comment.