From 5f08e657026bffbf3c5eab9f846575c397211c04 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Wed, 18 Sep 2019 12:15:39 -0700 Subject: [PATCH] Push VS.Redist*.nupkg files to the VS package feed --- .azure/pipelines/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml index 5a098bca9d..7cd6b09946 100644 --- a/.azure/pipelines/ci.yml +++ b/.azure/pipelines/ci.yml @@ -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/