Merge pull request #3284 from johnbeisner/PushToVSFeed2

Removing the 'Push Visual Studio NuPkgs' step
This commit is contained in:
John Beisner 2019-07-16 23:18:53 -07:00 committed by GitHub
commit 74fc88d1a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,16 +98,6 @@ phases:
$(_AdditionalBuildParameters)
displayName: Build
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), 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'
condition: and(succeeded(), eq(variables['_DotNetPublishToBlobFeed'], 'true'), or(eq(variables['_BuildArchitecture'], 'x64'), eq(variables['_BuildArchitecture'], 'x86')))
- task: PublishTestResults@1
displayName: Publish Test Results
inputs: