6767 value : ' '
6868 - name : _HelixCreator
6969 value : ${{ parameters.repoName }}
70+ - name : _InternalRuntimeDownloadArgs
71+ value : ' '
7072
7173
7274 # Override some values if we're building internally
@@ -109,6 +111,10 @@ jobs:
109111 value : ' ' # if _HelixToken is set, Creator must be empty
110112 - name : _TestHelixAgentPool
111113 value : ' Windows.10.Amd64.ClientRS5' # Preferred: 'Windows.10.Amd64%3bWindows.7.Amd64%3bWindows.10.Amd64.ClientRS5'
114+ - group : DotNet-MSRC-Storage
115+ - name : _InternalRuntimeDownloadArgs
116+ value : /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet
117+ /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
112118
113119 strategy :
114120 matrix :
@@ -136,6 +142,15 @@ jobs:
136142 - powershell : eng\pre-build.ps1
137143 displayName : Pre-Build - Set VSO Variables
138144
145+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
146+ - task : PowerShell@2
147+ displayName : Setup Private Feeds Credentials
148+ inputs :
149+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
150+ arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
151+ env :
152+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
153+
139154 # Use utility script to run script command dependent on agent OS.
140155 - script : eng\common\cibuild.cmd
141156 -configuration $(_BuildConfig)
@@ -144,6 +159,7 @@ jobs:
144159 $(_SignArgs)
145160 $(_OfficialBuildIdArgs)
146161 $(_PlatformArgs)
162+ $(_InternalRuntimeDownloadArgs)
147163 displayName : Windows Build / Publish
148164 # This condition should be kept in sync with the condition for 'Run DRTs' step
149165 # When building on a regular pipeline (!_HelixPipeline), build as usual
0 commit comments