Fix build.yml errors

This commit is contained in:
Marc Paine 2023-01-03 16:41:27 -08:00 committed by GitHub
parent 9db1b37d6c
commit 31b5a5b1d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,7 +169,8 @@ phases:
continueOnError: true continueOnError: true
condition: always() condition: always()
- ${{ 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/release/7.0.1xx')))) }}:
- template: /eng/common/templates/job/onelocbuild.yml - template: /eng/common/templates/job/onelocbuild.yml
parameters: parameters:
CreatePr: true CreatePr: true