From b47206c2dd90d36b5accbd9762bf8a0c545ae334 Mon Sep 17 00:00:00 2001 From: Steve Pfister Date: Mon, 18 Mar 2024 17:37:43 -0400 Subject: [PATCH] Fix workloads build by bringing back some needed variables https://github.com/dotnet/runtime/pull/99179 made some changes and switched the template the workloads build was using. In the process, workloadArtifactsPath and workloadPackagesPath got dropped, which meant the workloads build did not pick up any manifests to process. As a result, the build failed. --- eng/pipelines/mono/templates/workloads-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eng/pipelines/mono/templates/workloads-build.yml b/eng/pipelines/mono/templates/workloads-build.yml index 4824f2f1203f2..bb8ff94361ccb 100644 --- a/eng/pipelines/mono/templates/workloads-build.yml +++ b/eng/pipelines/mono/templates/workloads-build.yml @@ -42,6 +42,12 @@ jobs: value: '/p:OfficialBuildId=$(Build.BuildNumber)' - name: SignType value: $[ coalesce(variables.OfficialSignType, 'real') ] + - name: monoRepoRoot + value: '$(Build.SourcesDirectory)/src/mono' + - name: workloadPackagesPath + value: $(Build.SourcesDirectory)/artifacts/workloadPackages + - name: workloadArtifactsPath + value: $(Build.SourcesDirectory)/artifacts/workloads - ${{ parameters.variables }} steps: