From 77691d62c5a10c8910321b99c3e830f7382b06fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 9 Jan 2024 00:59:39 +0100 Subject: [PATCH] Use NuGetAuthenticate@1 instead of @0 There is a build warning about the old version now. eng/common usages are handled by https://github.com/dotnet/arcade/pull/14314 --- eng/pipelines/common/restore-internal-tools.yml | 2 +- eng/pipelines/installer/jobs/steps/build-linux-package.yml | 2 +- eng/pipelines/official/jobs/prepare-signed-artifacts.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/common/restore-internal-tools.yml b/eng/pipelines/common/restore-internal-tools.yml index eead4b67c30f64..fdec41da53da55 100644 --- a/eng/pipelines/common/restore-internal-tools.yml +++ b/eng/pipelines/common/restore-internal-tools.yml @@ -1,5 +1,5 @@ steps: - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 inputs: nuGetServiceConnections: 'devdiv/dotnet-core-internal-tooling' forceReinstallCredentialProvider: true diff --git a/eng/pipelines/installer/jobs/steps/build-linux-package.yml b/eng/pipelines/installer/jobs/steps/build-linux-package.yml index 76ede3ee0474f3..102eab770c278f 100644 --- a/eng/pipelines/installer/jobs/steps/build-linux-package.yml +++ b/eng/pipelines/installer/jobs/steps/build-linux-package.yml @@ -9,7 +9,7 @@ parameters: steps: ## Run NuGet Authentication for each of the side containers - ${{ if ne(variables['System.TeamProject'], 'public') }}: - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 target: ${{ parameters.target }} - script: | $(Build.SourcesDirectory)/build.sh \ diff --git a/eng/pipelines/official/jobs/prepare-signed-artifacts.yml b/eng/pipelines/official/jobs/prepare-signed-artifacts.yml index c6d1624603fe1c..908f2b64c71c22 100644 --- a/eng/pipelines/official/jobs/prepare-signed-artifacts.yml +++ b/eng/pipelines/official/jobs/prepare-signed-artifacts.yml @@ -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