mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-17 02:51:51 -05:00
Update azure-pipelines.yml for Azure Pipelines
Execute NuGet push only on master ``` condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) ```
This commit is contained in:
@@ -57,6 +57,7 @@ stages:
|
|||||||
|
|
||||||
- task: NuGetCommand@2
|
- task: NuGetCommand@2
|
||||||
displayName: 'Publish to wpf-notifyicon feed'
|
displayName: 'Publish to wpf-notifyicon feed'
|
||||||
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||||
inputs:
|
inputs:
|
||||||
command: 'push'
|
command: 'push'
|
||||||
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
|
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
|
||||||
|
|||||||
Reference in New Issue
Block a user