Merge pull request #2796 from johnbeisner/PushToVSFeed
Pushing VS NuPkgs to the VS feed
This commit is contained in:
commit
ce71e98523
1 changed files with 12 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue