mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
only create patch on main
This commit is contained in:
parent
d339c148f2
commit
f1f7e037b9
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ jobs:
|
|||
|
||||
- task: PublishPipelineArtifact@0
|
||||
displayName: Publish patch file as artifact
|
||||
condition: eq(variables['hasChanges'], '1')
|
||||
condition: and(eq(variables['hasChanges'], '1'), eq(variables['isMainBranch'], true))
|
||||
inputs:
|
||||
artifactName: Patch
|
||||
targetPath: $(Build.ArtifactStagingDirectory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue