Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/9.x] Fixup nuget authentication #6790

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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