Skip to content

Instantly share code, notes, and snippets.

@appcoreopc
Created July 29, 2021 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save appcoreopc/5aa6863627b99baad0f4f6108417a59f to your computer and use it in GitHub Desktop.
Save appcoreopc/5aa6863627b99baad0f4f6108417a59f to your computer and use it in GitHub Desktop.
- task: DotNetCoreCLI@2
displayName: Push to DevOps feed
condition: and(succeeded(), eq(variables.isMasterOrReleasableBranch, true))
inputs:
command: "push"
nuGetFeedType: "internal" # Required when command == push. Options: internal, external
packagesToPush: "$(Build.ArtifactStagingDirectory)/*.nupkg" # Required when command == push
publishVstsFeed: "API" # Required when command == push && NuGetFeedType == internal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment