Push VS.Redist*.nupkg files to the VS package feed

This commit is contained in:
Doug Bunting 2019-09-18 12:15:39 -07:00
parent 854c052e1e
commit 5f08e65702
1 changed files with 10 additions and 0 deletions

View File

@ -164,6 +164,16 @@ stages:
/p:PublishInstallerBaseVersion=true
displayName: Build Installers
# A few files must also go to the VS package feed.
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- task: NuGetCommand@2
displayName: Push Visual Studio packages
inputs:
command: push
packagesToPush: 'artifacts/packages/**/VS.Redist.Common.AspNetCore.*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'DevDiv - VS package feed'
artifacts:
- name: Windows_Logs
path: artifacts/log/