Merge pull request #2796 from johnbeisner/PushToVSFeed

Pushing VS NuPkgs to the VS feed
This commit is contained in:
Livar 2019-07-11 10:51:05 -07:00 committed by GitHub
commit ce71e98523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,14 @@ phases:
condition: not(succeeded())
- ${{ if and(eq(parameters.enablePublishBuildAssets, true), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- ${{ if eq(parameters.agentOs, 'Windows_NT') }}:
- task: NuGetCommand@2
displayName: 'Push Visual Studio NuPkgs'
inputs:
command: push
packagesToPush: '$(Build.SourcesDirectory)/artifacts/packages/$(_BuildConfig)/NonShipping/VS.*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'DevDiv - VS package feed'
- task: CopyFiles@2
displayName: Gather Asset Manifests
inputs: