Skip to content

Commit

Permalink
Don't publish packages for PR builds. Fixes #699
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrainger committed Sep 20, 2019
1 parent 9db451e commit 0259c09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
arguments: '-c Release --version-suffix build-$(Build.BuildNumber) -o $(Build.ArtifactStagingDirectory)'
- task: DotNetCoreCLI@2
displayName: 'Publish packages'
condition: ne(variables['Build.Reason'], 'PullRequest')
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg'
Expand Down

0 comments on commit 0259c09

Please sign in to comment.