@@ -8,18 +8,18 @@ variables:
88 value : Roslyn-Project-System
99 - name : _DotNetArtifactsCategory
1010 value : Toolset
11- - ${{ if eq(variables['System.TeamProject'], 'public') }} :
11+ - ${{ if or( eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest') ) }} :
1212 - name : PB_PublishBlobFeedKey
13- value :
13+ value : ' '
1414 - name : PB_PublishBlobFeedUrl
15- value :
15+ value : ' '
1616 - name : _DotNetPublishToBlobFeed
1717 value : false
1818 - name : _PublishUsingPipelines
1919 value : false
2020 - name : _PublishType
2121 value : none
22- - ${{ if ne(variables['System.TeamProject'], 'public') }} :
22+ - ${{ if and( ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest') ) }} :
2323 - name : PB_PublishBlobFeedUrl
2424 value : https://dotnetfeed.blob.core.windows.net/dotnet-toolset/index.json
2525 - name : _DotNetPublishToBlobFeed
@@ -30,6 +30,14 @@ variables:
3030 value : blob
3131 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
3232 - group : DotNet-CLI-SDLValidation-Params
33+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
34+ - group : DotNet-MSRC-Storage
35+ - name : _InternalRuntimeDownloadArgs
36+ value : /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet
37+ /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
38+ - ${{ if eq(variables['System.TeamProject'], 'public') }} :
39+ - name : _InternalRuntimeDownloadArgs
40+ value : ' '
3341
3442stages :
3543- stage : build
@@ -41,15 +49,15 @@ stages:
4149 name : Hosted VS2017
4250 strategy :
4351 matrix :
44- ${{ if eq(variables['System.TeamProject'], 'public') }} :
52+ ${{ if or( eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest') ) }} :
4553 Build_Debug_x86 :
4654 _BuildConfig : Debug
4755 _BuildArchitecture : x86
4856 Build_Release_x64 :
4957 _BuildConfig : Release
5058 _BuildArchitecture : x64
5159
52- - ${{ if eq(variables['System.TeamProject'], 'public') }} :
60+ - ${{ if or( eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest') ) }} :
5361 - template : /eng/build.yml
5462 parameters :
5563 agentOs : Linux
0 commit comments