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
|
# Publish using pipelines
|
||||||
enablePublishUsingPipelines: true
|
enablePublishUsingPipelines: true
|
||||||
|
|
||||||
phases:
|
jobs:
|
||||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/release/7.0.1xx')))) }}:
|
- ${{ 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
|
- template: /eng/common/templates/job/onelocbuild.yml
|
||||||
parameters:
|
parameters:
|
||||||
CreatePr: true
|
CreatePr: true
|
||||||
|
|
Loading…
Reference in a new issue