Fix official build (#48139)
authorSantiago Fernandez Madero <safern@microsoft.com>
Thu, 11 Feb 2021 00:52:17 +0000 (16:52 -0800)
committerGitHub <noreply@github.com>
Thu, 11 Feb 2021 00:52:17 +0000 (16:52 -0800)
eng/pipelines/runtime-official.yml

index 7d0efc6..9d9a792 100644 (file)
@@ -304,34 +304,34 @@ stages:
       - windows_arm
       - windows_arm64
 
-- ${{ if eq(variables.isOfficialBuild, true) }}:
-  - template: /eng/pipelines/official/stages/publish.yml
+  #
+  # Build PGO CoreCLR release
+  #
+  - template: /eng/pipelines/common/platform-matrix.yml
     parameters:
-      isOfficialBuild: ${{ variables.isOfficialBuild }}
-
-#
-# Build PGO CoreCLR release
-#
-- template: /eng/pipelines/common/platform-matrix.yml
-  parameters:
-    jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml
-    buildConfig: release
-    platforms:
-    - windows_x64
-    jobParameters:
-      testGroup: innerloop
-      pgoType: 'PGO'
+      jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml
+      buildConfig: release
+      platforms:
+      - windows_x64
+      jobParameters:
+        testGroup: innerloop
+        pgoType: 'PGO'
 
   #
   # PGO Build
   #
-- template: /eng/pipelines/installer/installer-matrix.yml
-  parameters:
-    buildConfig: Release
-    jobParameters:
+  - template: /eng/pipelines/installer/installer-matrix.yml
+    parameters:
+      buildConfig: Release
+      jobParameters:
+        isOfficialBuild: ${{ variables.isOfficialBuild }}
+        liveRuntimeBuildConfig: release
+        liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
+        pgoType: 'PGO'
+      platforms:
+      - windows_x64
+
+- ${{ if eq(variables.isOfficialBuild, true) }}:
+  - template: /eng/pipelines/official/stages/publish.yml
+    parameters:
       isOfficialBuild: ${{ variables.isOfficialBuild }}
-      liveRuntimeBuildConfig: release
-      liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }}
-      pgoType: 'PGO'
-    platforms:
-    - windows_x64