Skip to content

Commit a9bb484

Browse files
authored
Call NuGetAuthenticate after SetupNuGetSources (#55960)
The new version of the powershell script will not place the creds in the nuget.config file, instead it will use standard environment variables. Update the YAML file to use NuGetAuthenticate to avoid a build break that may happen if the credential provider is not available.
1 parent cef96eb commit a9bb484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ jobs:
436436
env:
437437
Token: $(dn-bot-dnceng-artifact-feeds-rw)
438438

439+
# Call the NugetAuthenticate task to add creds for added feeds.
440+
- task: NuGetAuthenticate@1
441+
439442
# Add COMPlus_* environment variables to build steps.
440443
- ${{ if ne(parameters.steps, '')}}:
441444
- ${{ each step in parameters.steps }}:

0 commit comments

Comments
 (0)