From 8435db8e9a9851455634017123044f80e38f3322 Mon Sep 17 00:00:00 2001 From: Arlo Godfrey Date: Tue, 9 May 2023 18:29:48 -0500 Subject: [PATCH] Disable diagnostics --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 859dc5f5..42c10f6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ on: env: DOTNET_VERSION: ${{ '6.0.x' }} - ENABLE_DIAGNOSTICS: true + ENABLE_DIAGNOSTICS: false #COREHOST_TRACE: 1 COREHOST_TRACEFILE: corehosttrace.log @@ -122,12 +122,12 @@ jobs: if: ${{ matrix.platform == 'WinUI3' }} - name: MSBuild (With diagnostics) - if: ${{ (env.ENABLE_DIAGNOSTICS == 'true') }} - run: msbuild.exe CommunityToolkit.AllComponents.sln /restore /bl /nowarn:MSB4011 -p:Configuration=Release -v:diag + if: ${{ env.ENABLE_DIAGNOSTICS == 'true' }} + run: msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release /bl -v:diag - name: MSBuild - # UseDotNetNativeToolchain is disabled until ILT0005 can be resolved. Build Release mode locally to compile with .NET Native. - run: msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release /bl -v:diag + if: ${{ env.ENABLE_DIAGNOSTICS == 'false' }} + run: msbuild.exe CommunityToolkit.AllComponents.sln /restore /nowarn:MSB4011 -p:Configuration=Release # Build All Packages - name: pack experiments