@@ -72,30 +72,32 @@ variables:
72
72
/p:DotNetPublishToBlobFeed=$(_DotNetPublishToBlobFeed)
73
73
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
74
74
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
75
- # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
76
- - name : WindowsArm64LogArgs
77
- value : -ExcludeCIBinaryLog
78
- - name : Windows64LogArgs
79
- value : -ExcludeCIBinaryLog
80
- - name : Windows86LogArgs
81
- value : -ExcludeCIBinaryLog
82
- - name : WindowsSignLogArgs
83
- value : -ExcludeCIBinaryLog
84
- - name : WindowsInstallersLogArgs
85
- value : -ExcludeCIBinaryLog
86
- - name : WindowsArm64InstallersLogArgs
87
- value : -ExcludeCIBinaryLog
88
75
# Variables for source indexing afterBuild step and job.
89
76
- name : sourceIndexPackageVersion
90
77
value : 1.0.1-20210614.1
91
78
- name : sourceIndexPackageSource
92
79
value : https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
93
80
- group : source-dot-net stage1 variables
94
- - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), eq(parameters.produceBinlogs, 'true')) }} :
81
+ - ${{ if ne(parameters.produceBinlogs, 'true') }} :
82
+ # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
83
+ - name : WindowsArm64LogArgs
84
+ value : -ExcludeCIBinaryLog
85
+ - name : Windows64LogArgs
86
+ value : -ExcludeCIBinaryLog
87
+ - name : Windows86LogArgs
88
+ value : -ExcludeCIBinaryLog
89
+ - name : WindowsSignLogArgs
90
+ value : -ExcludeCIBinaryLog
91
+ - name : WindowsInstallersLogArgs
92
+ value : -ExcludeCIBinaryLog
93
+ - name : WindowsArm64InstallersLogArgs
94
+ value : -ExcludeCIBinaryLog
95
+ - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
95
96
- name : _BuildArgs
96
97
value : ' /p:SkipTestBuild=true /p:PostBuildSign=$(PostBuildSign)'
97
98
- name : _PublishArgs
98
99
value : ' '
100
+ - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest'), eq(parameters.produceBinlogs, 'true')) }} :
99
101
# Write binary logs for all main Windows build steps except the x86 one in public and PR builds.
100
102
- name : WindowsArm64LogArgs
101
103
value : /bl:artifacts/log/Release/Build.arm64.binlog
0 commit comments