[release/8.0] Change OneLocBuild mirror branch to release/8.0 (#90813)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 21 Aug 2023 16:49:58 +0000 (09:49 -0700)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 16:49:58 +0000 (09:49 -0700)
* [main] Change OneLocBuild mirror branch to release/8.0 temporarily

* Re-enable OneLocBuild in runtime-official.yml

* Do not modify common, add the parameter in the uncommented lines instead.

* Revert spacing

* Change condition

---------

Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
eng/pipelines/runtime-official.yml

index 172a40e..46f7872 100644 (file)
@@ -41,13 +41,13 @@ extends:
       # Localization build
       #
 
-      # disabled due to https://github.com/dotnet/runtime/issues/90466
-      #- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
-      #  - template: /eng/common/templates/job/onelocbuild.yml
-      #    parameters:
-      #      MirrorRepo: runtime
-           LclSource: lclFilesfromPackage
-           LclPackageId: 'LCL-JUNO-PROD-RUNTIME'
+      - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/release/8.0') }}:
+       - template: /eng/common/templates/job/onelocbuild.yml
+         parameters:
+           MirrorRepo: runtime
+           MirrorBranch: release/8.0
+           LclSource: lclFilesfromPackage
+           LclPackageId: 'LCL-JUNO-PROD-RUNTIME'
 
       #
       # Source Index Build