diff --git a/eng/build.yml b/eng/build.yml index c63188cd2..2944d5f36 100644 --- a/eng/build.yml +++ b/eng/build.yml @@ -18,13 +18,13 @@ parameters: enablePublishUsingPipelines: true jobs: -- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}: +- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['Build.SourceBranch'], 'refs/heads/main')) }}: - template: /eng/common/templates/job/onelocbuild.yml parameters: CreatePr: true LclSource: lclFilesfromPackage LclPackageId: 'LCL-JUNO-PROD-DOTNETINSTALLER' - MirrorBranch: release/7.0.1xx + MirrorBranch: main MirrorRepo: sdk - template: /eng/common/templates/job/job.yml