Skip to content

Commit

Permalink
Fixup nuget authentication (#6789)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiktork authored Jun 6, 2024
1 parent f810fe8 commit 07bd424
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eng/pipelines/steps/setup-nuget-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ steps:
displayName: Setup Private Feeds Credentials
inputs:
filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
- ${{ else }}:
Expand All @@ -19,3 +19,7 @@ steps:
arguments: $(Build.SourcesDirectory)/NuGet.config $Token
env:
Token: $(dn-bot-dnceng-artifact-feeds-rw)
# Run the NuGetAuthenticate task after the internal feeds are added to the nuget.config
# This ensures that creds are set appropriately for all feeds in the config, and that the
# credential provider is installed.
- task: NuGetAuthenticate@1

0 comments on commit 07bd424

Please sign in to comment.