Update build.yml
This commit is contained in:
parent
2dc5249cf9
commit
d17b9bf562
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ parameters:
|
|||
# Publish using pipelines
|
||||
enablePublishUsingPipelines: true
|
||||
|
||||
phases:
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
|
||||
jobs:
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
|
||||
- template: /eng/common/templates/job/onelocbuild.yml
|
||||
parameters:
|
||||
CreatePr: true
|
||||
|
|
Loading…
Reference in a new issue