From 6b29ef51e304fb1af8df7c798f87d3dbb0408c92 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Fri, 23 Feb 2024 05:34:02 -0600 Subject: [PATCH] build: switch to NuGetAuthenticate@1 (#16752) It keeps warning us that v0 has been deprecated. --- .../pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml | 2 +- build/pipelines/templates-v2/steps-restore-nuget.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml b/build/pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml index b61a22c4fc..e30e23b88c 100644 --- a/build/pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml +++ b/build/pipelines/templates-v2/job-pgo-build-nuget-and-publish.yml @@ -43,7 +43,7 @@ jobs: - template: steps-ensure-nuget-version.yml - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 inputs: nuGetServiceConnections: 'Terminal Public Artifact Feed' diff --git a/build/pipelines/templates-v2/steps-restore-nuget.yml b/build/pipelines/templates-v2/steps-restore-nuget.yml index bd0c067531..37018efc1a 100644 --- a/build/pipelines/templates-v2/steps-restore-nuget.yml +++ b/build/pipelines/templates-v2/steps-restore-nuget.yml @@ -1,7 +1,7 @@ steps: - template: steps-ensure-nuget-version.yml -- task: NuGetAuthenticate@0 +- task: NuGetAuthenticate@1 - script: |- echo ##vso[task.setvariable variable=NUGET_RESTORE_MSBUILD_ARGS]/p:Platform=$(BuildPlatform)