Update build.yml

This commit is contained in:
Marc Paine 2023-01-03 16:50:20 -08:00 committed by GitHub
parent 2dc5249cf9
commit d17b9bf562
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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