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)