File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,13 @@ jobs:
108108 Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps' -Name 'DumpType' -Type DWord -Value '2'
109109
110110 - name : Install .NET SDK v${{ env.DOTNET_VERSION }}
111- if : ${{ env.ENABLE_DIAGNOSTICS == 'true' }}
111+ if : ${{ env.ENABLE_DIAGNOSTICS == 'true' && env.HAS_BUILDABLE_COMPONENTS == 'true' }}
112112 uses : actions/setup-dotnet@v4
113113 with :
114114 dotnet-version : ${{ env.DOTNET_VERSION }}
115115
116116 - name : .NET Info (if diagnostics)
117- if : ${{ env.ENABLE_DIAGNOSTICS == 'true' }}
117+ if : ${{ env.ENABLE_DIAGNOSTICS == 'true' && env.HAS_BUILDABLE_COMPONENTS == 'true' }}
118118 run : dotnet --info
119119
120120 # Restore Tools from Manifest list in the Repository
You can’t perform that action at this time.
0 commit comments