@@ -110,6 +110,8 @@ jobs:
110
110
# Variables used by arcade to gather asset manifests
111
111
- name : _DotNetPublishToBlobFeed
112
112
value : true
113
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }} :
114
+ - group : AzureDevOps-Artifact-Feeds-Pats
113
115
- name : officialBuildIdArg
114
116
value : ' '
115
117
- ${{ if eq(parameters.isOfficialBuild, true) }} :
@@ -182,6 +184,24 @@ jobs:
182
184
continueOnError : false
183
185
condition : and(succeeded(), in(variables['SignType'], 'real', 'test'))
184
186
187
+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
188
+ - ${{ if ne(parameters.osGroup, 'windows') }} :
189
+ - task : Bash@3
190
+ displayName : Setup Private Feeds Credentials
191
+ inputs :
192
+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
193
+ arguments : $(Build.SourcesDirectory)/NuGet.config $Token
194
+ env :
195
+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
196
+ - ${{ if eq(parameters.osGroup, 'windows') }} :
197
+ - task : PowerShell@2
198
+ displayName : Setup Private Feeds Credentials
199
+ inputs :
200
+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
201
+ arguments : -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
202
+ env :
203
+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
204
+
185
205
- ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }} :
186
206
- script : |
187
207
du -sh $(Build.SourcesDirectory)/*
0 commit comments