Skip to content

Commit

Permalink
Update NuGetCommand to use nuget.config (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
manodasanW authored Sep 10, 2024
1 parent 2e4bdb0 commit 64d2a52
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pipelines/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:

- task: NuGetCommand@2
displayName: NuGet restore
inputs:
command: 'restore'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: CmdLine@2
displayName: Build Tools
Expand Down Expand Up @@ -322,6 +326,10 @@ jobs:

- task: NuGetCommand@2
displayName: NuGet restore
inputs:
command: 'restore'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: DownloadPipelineArtifact@1
displayName: Download x86 Artifacts
Expand Down
4 changes: 4 additions & 0 deletions .pipelines/jobs/OneBranchBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
inputs:
command: 'restore'
restoreSolution: '$(Build.SourcesDirectory)\cppwinrt.sln'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: VSBuild@1
displayName: Build fast_fwd
Expand All @@ -72,6 +74,8 @@ jobs:
inputs:
command: 'restore'
restoreSolution: '$(Build.SourcesDirectory)\natvis\cppwinrtvisualizer.sln'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: VSBuild@1
displayName: Build Component visualizer
Expand Down
2 changes: 2 additions & 0 deletions .pipelines/jobs/OneBranchTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
inputs:
command: 'restore'
restoreSolution: '$(Build.SourcesDirectory)\cppwinrt.sln'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: PowerShell@2
displayName: Remove cppwinrt dependency from test projects
Expand Down
2 changes: 2 additions & 0 deletions .pipelines/jobs/OneBranchVsix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ jobs:
inputs:
command: 'restore'
restoreSolution: '$(Build.SourcesDirectory)\vsix\vsix.sln'
feedsToUse: config
nugetConfigPath: NuGet.config

- task: DownloadPipelineArtifact@2
displayName: 'Download x86 binaries'
Expand Down

0 comments on commit 64d2a52

Please sign in to comment.