Skip to content

Commit

Permalink
[release/6.0] Use NuGetAuthenticate@1 instead of @0 (dotnet#96651)
Browse files Browse the repository at this point in the history
There is a build warning about the old version now. eng/common usages are handled by dotnet/arcade#14314

Backport of dotnet#96651
  • Loading branch information
akoeplinger committed Jan 9, 2024
1 parent 8f280fc commit 0d0cfa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/pipelines/common/restore-internal-tools.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
inputs:
nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling'
forceReinstallCredentialProvider: true
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/installer/jobs/base-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ jobs:
displayName: Clean up old artifacts owned by root
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1

- ${{ if eq(parameters.osGroup, 'windows') }}:
# NuGet's http cache lasts 30 minutes. If we're on a static machine, this may interfere with
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/official/jobs/prepare-signed-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetchDepth: 20

- ${{ if eq(parameters.isOfficialBuild, true) }}:
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1

- task: MicroBuildSigningPlugin@2
displayName: Install MicroBuild plugin for Signing
Expand Down

0 comments on commit 0d0cfa9

Please sign in to comment.