Skip to content

Commit

Permalink
[CI] Setup nugets config for the private repo. (#12911)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque authored Oct 4, 2021
1 parent 08b6dfe commit 05ad66d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/devops/automation/templates/build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,14 @@ steps:
RUN_DEVICE_TESTS: '${{ parameters.runDeviceTests }}'

- ${{ if contains(variables['Build.DefinitionName'], 'private') }}:
- task: PowerShell@2
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(System.DefaultWorkingDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(System.DefaultWorkingDirectory)/NuGet.config -Password $Env:Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)

- bash: |
set -x
set -e
Expand Down

0 comments on commit 05ad66d

Please sign in to comment.