From a09ef6ded0fc6c6f1972373235b751c27ea5db78 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Thu, 25 Jan 2024 11:19:02 -0800 Subject: [PATCH] [ci] Use NuGetAuthenticate@1 The `NuGetAuthenticate@0` task is deprecated and will soon be removed: Task 'NuGet authenticate' version 0 (NuGetAuthenticate@0) is deprecated. This task will be removed. From January 31, 2024, onwards it may no longer be available. --- build-tools/automation/azure-pipelines-apidocs.yaml | 2 +- build-tools/automation/azure-pipelines.yaml | 2 +- build-tools/automation/yaml-templates/build-linux.yaml | 2 +- build-tools/automation/yaml-templates/commercial-build.yaml | 2 +- .../automation/yaml-templates/install-microbuild-tooling.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build-tools/automation/azure-pipelines-apidocs.yaml b/build-tools/automation/azure-pipelines-apidocs.yaml index bb7ac1dcd93..a7cbed9eff6 100644 --- a/build-tools/automation/azure-pipelines-apidocs.yaml +++ b/build-tools/automation/azure-pipelines-apidocs.yaml @@ -93,7 +93,7 @@ stages: - template: yaml-templates/use-dot-net.yaml - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 displayName: authenticate with azure artifacts inputs: forceReinstallCredentialProvider: true diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 0d47a83d950..f4e0cf2750a 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -344,7 +344,7 @@ stages: updateMono: false androidSdkPlatforms: 23,24,25,26,27,28,29,30,31,32,33,$(DefaultTestSdkPlatforms) - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 displayName: authenticate with azure artifacts inputs: forceReinstallCredentialProvider: true diff --git a/build-tools/automation/yaml-templates/build-linux.yaml b/build-tools/automation/yaml-templates/build-linux.yaml index b091206be67..ba399bdfd3b 100644 --- a/build-tools/automation/yaml-templates/build-linux.yaml +++ b/build-tools/automation/yaml-templates/build-linux.yaml @@ -61,7 +61,7 @@ stages: workingDirectory: $(System.DefaultWorkingDirectory)/xamarin-android displayName: make prepare-external-git-dependencies - - task: NuGetAuthenticate@0 + - task: NuGetAuthenticate@1 displayName: authenticate with azure artifacts inputs: forceReinstallCredentialProvider: true diff --git a/build-tools/automation/yaml-templates/commercial-build.yaml b/build-tools/automation/yaml-templates/commercial-build.yaml index 84421581edf..b2713654661 100644 --- a/build-tools/automation/yaml-templates/commercial-build.yaml +++ b/build-tools/automation/yaml-templates/commercial-build.yaml @@ -14,7 +14,7 @@ steps: parameters: remove_dotnet: true -- task: NuGetAuthenticate@0 +- task: NuGetAuthenticate@1 displayName: authenticate with azure artifacts inputs: forceReinstallCredentialProvider: true diff --git a/build-tools/automation/yaml-templates/install-microbuild-tooling.yaml b/build-tools/automation/yaml-templates/install-microbuild-tooling.yaml index 54fc4e6d6a0..f64b2bc346d 100644 --- a/build-tools/automation/yaml-templates/install-microbuild-tooling.yaml +++ b/build-tools/automation/yaml-templates/install-microbuild-tooling.yaml @@ -3,7 +3,7 @@ parameters: condition: succeeded() steps: -- task: NuGetAuthenticate@0 +- task: NuGetAuthenticate@1 displayName: authenticate with azure artifacts inputs: forceReinstallCredentialProvider: true