Skip to content

Commit 309c311

Browse files
authored
[ci] Use NuGetAuthenticate@1 (#8877)
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. Use the updated `NuGetAuthenticate@1` task instead.
1 parent 559f4a7 commit 309c311

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

build-tools/automation/azure-pipelines-apidocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ stages:
8181

8282
- template: yaml-templates/use-dot-net.yaml
8383

84-
- task: NuGetAuthenticate@0
84+
- task: NuGetAuthenticate@1
8585
displayName: authenticate with azure artifacts
8686
inputs:
8787
forceReinstallCredentialProvider: true

build-tools/automation/yaml-templates/build-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ stages:
6767
workingDirectory: $(System.DefaultWorkingDirectory)/xamarin-android
6868
displayName: make prepare-external-git-dependencies
6969

70-
- task: NuGetAuthenticate@0
70+
- task: NuGetAuthenticate@1
7171
displayName: authenticate with azure artifacts
7272
inputs:
7373
forceReinstallCredentialProvider: true

build-tools/automation/yaml-templates/commercial-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
parameters:
1616
remove_dotnet: true
1717

18-
- task: NuGetAuthenticate@0
18+
- task: NuGetAuthenticate@1
1919
displayName: authenticate with azure artifacts
2020
inputs:
2121
forceReinstallCredentialProvider: true

build-tools/automation/yaml-templates/install-microbuild-tooling.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parameters:
33
condition: succeeded()
44

55
steps:
6-
- task: NuGetAuthenticate@0
6+
- task: NuGetAuthenticate@1
77
displayName: authenticate with azure artifacts
88
inputs:
99
forceReinstallCredentialProvider: true

0 commit comments

Comments
 (0)