diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 6c4f9b126f..3d49edabe1 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -506,12 +506,13 @@ stages: inputs: command: restore projects: $(solution) - # TODO: Use NuGetCommand instead of DotNetCoreCLI - # - task: NuGetCommand@2 - # displayName: Restore NuGet Packages - # inputs: - # restoreSolution: $(solution) - # feedsToUse: config + - task: NuGetCommand@2 + displayName: NuGet push + inputs: + command: 'push' + packagesToPush: $(Build.ArtifactStagingDirectory)/**/*.nupkg + nuGetFeedType: 'external' + publishFeedCredentials: 'MyGet - Pre-releases' - stage: Deploy_NuGet displayName: NuGet release dependsOn: