Skip to content

Commit 4408fa0

Browse files
Update NuGet restore steps in automation pipelines to use config file
1 parent 1004f7c commit 4408fa0

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

azure-pipeline - Automation.Zapier.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ steps:
3030
displayName: 'NuGet Restore'
3131
inputs:
3232
restoreSolution: '$(solution)'
33+
feedsToUse: 'config'
34+
nugetConfigPath: 'NuGet.config'
3335

3436
- task: VSBuild@1
3537
displayName: 'Build Project'

azure-pipeline - Crm.ActiveCampaign.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ steps:
3131
- task: NuGetToolInstaller@1
3232
displayName: 'Install NuGet'
3333

34-
- task: DotNetCoreCLI@2
34+
- task: NuGetCommand@2
3535
displayName: 'NuGet Restore'
3636
inputs:
37-
command: 'restore'
38-
feedsToUse: 'select'
39-
projects: '$(project)'
40-
includeNuGetOrg: true
37+
restoreSolution: '$(solution)'
38+
feedsToUse: 'config'
39+
nugetConfigPath: 'NuGet.config'
4140

4241
- task: VSBuild@1
4342
displayName: 'Build Project'

azure-pipeline - Crm.Hubspot.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ steps:
3131
- task: NuGetToolInstaller@1
3232
displayName: 'Install NuGet'
3333

34-
- task: DotNetCoreCLI@2
34+
- task: NuGetCommand@2
3535
displayName: 'NuGet Restore'
3636
inputs:
37-
command: 'restore'
38-
feedsToUse: 'select'
39-
projects: '$(project)'
40-
includeNuGetOrg: true
37+
restoreSolution: '$(solution)'
38+
feedsToUse: 'config'
39+
nugetConfigPath: 'NuGet.config'
4140

4241
- task: VSBuild@1
4342
displayName: 'Build Project'

0 commit comments

Comments
 (0)