From e5ca94c78d0fce4bb3b1d395f8a6d2bc8c2f977d Mon Sep 17 00:00:00 2001 From: Michael Niksa Date: Fri, 12 Nov 2021 15:54:27 -0800 Subject: [PATCH] pull nuget onto this machine too --- .../pipelines/templates/pgo-merge-pgd-job.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/build/pipelines/templates/pgo-merge-pgd-job.yml b/build/pipelines/templates/pgo-merge-pgd-job.yml index bdf0b0f55..930472f58 100644 --- a/build/pipelines/templates/pgo-merge-pgd-job.yml +++ b/build/pipelines/templates/pgo-merge-pgd-job.yml @@ -26,6 +26,24 @@ jobs: echo ##vso[task.setvariable variable=VCToolsInstallDir]%VCToolsInstallDir% displayName: 'Retrieve VC tools directory' + - task: NuGetToolInstaller@0 + displayName: 'Use NuGet 5.2.0' + inputs: + versionSpec: 5.2.0 + + - task: NuGetAuthenticate@0 + + # In the Microsoft Azure DevOps tenant, NuGetCommand is ambiguous. + # This should be `task: NuGetCommand@2` + - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 + displayName: Restore NuGet packages for extraneous build actions + inputs: + command: restore + feedsToUse: config + configPath: NuGet.config + restoreSolution: build/packages.config + restoreDirectory: '$(Build.SourcesDirectory)\packages' + - task: DownloadBuildArtifacts@0 inputs: artifactName: ${{ parameters.pgoArtifact }}