@@ -110,6 +110,8 @@ jobs:
110110 # Variables used by arcade to gather asset manifests
111111 - name : _DotNetPublishToBlobFeed
112112 value : true
113+ - ${{ if eq(variables['System.TeamProject'], 'internal') }} :
114+ - group : AzureDevOps-Artifact-Feeds-Pats
113115 - name : officialBuildIdArg
114116 value : ' '
115117 - ${{ if eq(parameters.isOfficialBuild, true) }} :
@@ -182,6 +184,24 @@ jobs:
182184 continueOnError : false
183185 condition : and(succeeded(), in(variables['SignType'], 'real', 'test'))
184186
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+
185205 - ${{ if in(parameters.osGroup, 'OSX', 'iOS', 'tvOS') }} :
186206 - script : |
187207 du -sh $(Build.SourcesDirectory)/*
0 commit comments