Skip to content

Commit

Permalink
[ci] Use NuGetAuthenticate@1 (dotnet#8676)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjcollins authored Jan 25, 2024
1 parent c6ccc65 commit a832dd8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build-tools/automation/azure-pipelines-apidocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build-tools/automation/yaml-templates/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
parameters:
remove_dotnet: true

- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
displayName: authenticate with azure artifacts
inputs:
forceReinstallCredentialProvider: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
condition: succeeded()

steps:
- task: NuGetAuthenticate@0
- task: NuGetAuthenticate@1
displayName: authenticate with azure artifacts
inputs:
forceReinstallCredentialProvider: true
Expand Down

0 comments on commit a832dd8

Please sign in to comment.