Skip to content

Commit bc146f3

Browse files
Upgrade deprecated tasks in pipeline (#1954)
## Why make this change? - To get rid of warning in pipelines due to use of deprecated tasks. ![image](https://github.com/Azure/data-api-builder/assets/102276754/ce5cfebd-d32f-46eb-a030-bf090f50b11f) ## What is this change? - Upgraded the deprecated (https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/nuget-authenticate-v0?view=azure-pipelines) Nuget Authenticate task in pipeline. ## How was this tested? By running pipeline
1 parent 1d94ccc commit bc146f3

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.pipelines/cosmos-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ steps:
3838
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
3939
Start-CosmosDbEmulator
4040
41-
- task: NuGetAuthenticate@0
41+
- task: NuGetAuthenticate@1
4242
displayName: 'NuGet Authenticate'
4343

4444
- task: UseDotNet@2

.pipelines/dwsql-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
data-source.connection-string: ''
2929

3030
steps:
31-
- task: NuGetAuthenticate@0
31+
- task: NuGetAuthenticate@1
3232
displayName: 'NuGet Authenticate'
3333

3434
- task: UseDotNet@2
@@ -158,7 +158,7 @@ jobs:
158158
inputs:
159159
script: 'echo ##vso[task.setvariable variable=publishverify]Yes'
160160

161-
- task: NuGetAuthenticate@0
161+
- task: NuGetAuthenticate@1
162162
displayName: 'NuGet Authenticate'
163163

164164
- task: UseDotNet@2

.pipelines/mssql-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
data-source.connection-string: ''
2929

3030
steps:
31-
- task: NuGetAuthenticate@0
31+
- task: NuGetAuthenticate@1
3232
displayName: 'NuGet Authenticate'
3333

3434
- task: UseDotNet@2
@@ -161,7 +161,7 @@ jobs:
161161
inputs:
162162
script: 'echo ##vso[task.setvariable variable=publishverify]Yes'
163163

164-
- task: NuGetAuthenticate@0
164+
- task: NuGetAuthenticate@1
165165
displayName: 'NuGet Authenticate'
166166

167167
- task: UseDotNet@2

.pipelines/mysql-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
buildConfiguration: 'Release'
2525

2626
steps:
27-
- task: NuGetAuthenticate@0
27+
- task: NuGetAuthenticate@1
2828
displayName: 'NuGet Authenticate'
2929

3030
- task: UseDotNet@2

.pipelines/pg-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
buildConfiguration: 'Release'
2020

2121
steps:
22-
- task: NuGetAuthenticate@0
22+
- task: NuGetAuthenticate@1
2323
displayName: 'NuGet Authenticate'
2424

2525
- task: UseDotNet@2

.pipelines/templates/static-tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
vmImage: '${{ parameters.VmImage }}'
1515

1616
steps:
17-
- task: NuGetAuthenticate@0
17+
- task: NuGetAuthenticate@1
1818
displayName: 'NuGet Authenticate'
1919

2020
- checkout: self # self represents the repo where the initial Pipelines YAML file was found

0 commit comments

Comments
 (0)