diff --git a/build-tools/automation/azure-pipelines-apidocs.yaml b/build-tools/automation/azure-pipelines-apidocs.yaml index 22642c3a19c..a6295287f73 100644 --- a/build-tools/automation/azure-pipelines-apidocs.yaml +++ b/build-tools/automation/azure-pipelines-apidocs.yaml @@ -81,7 +81,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/yaml-templates/build-linux.yaml b/build-tools/automation/yaml-templates/build-linux.yaml index ae1b454c38f..673270ca735 100644 --- a/build-tools/automation/yaml-templates/build-linux.yaml +++ b/build-tools/automation/yaml-templates/build-linux.yaml @@ -67,7 +67,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 ff6c996a1b5..7024dbd6dc5 100644 --- a/build-tools/automation/yaml-templates/commercial-build.yaml +++ b/build-tools/automation/yaml-templates/commercial-build.yaml @@ -15,7 +15,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 a57dd9561a1..6052be7cfdd 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