diff --git a/eng/build.yml b/eng/build.yml index c0fe3b7c4..c63188cd2 100644 --- a/eng/build.yml +++ b/eng/build.yml @@ -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