diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dcae2b3f3..987837a89 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -37,8 +37,10 @@ extends: publishAssetsImmediately: true isAssetlessBuild: true enableTelemetry: true - - template: /eng/common/templates-official/job/onelocbuild.yml@self - parameters: - MirrorRepo: sourcelink - LclSource: lclFilesfromPackage - LclPackageId: 'LCL-JUNO-PROD-SOURCELINK' \ No newline at end of file + # The localization setup for main branch. Note difference in package ID. Should not be used with release/ branches. + - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}: + - template: /eng/common/templates-official/job/onelocbuild.yml@self + parameters: + MirrorRepo: sourcelink + LclSource: lclFilesfromPackage + LclPackageId: 'LCL-JUNO-PROD-SOURCELINK'