From f60111955a4e66cb13a964625273c44f0c94b2aa Mon Sep 17 00:00:00 2001 From: Benjamin Petit Date: Fri, 11 Oct 2024 13:16:56 +0200 Subject: [PATCH] Upgrade MicroBuild task --- .azure/pipelines/templates/build.yaml | 3 ++- .azure/pipelines/templates/vars.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.azure/pipelines/templates/build.yaml b/.azure/pipelines/templates/build.yaml index a48efa0a59..a0ede4a648 100644 --- a/.azure/pipelines/templates/build.yaml +++ b/.azure/pipelines/templates/build.yaml @@ -82,7 +82,7 @@ jobs: allowPackageConflicts: true steps: - ${{ if eq(variables.microbuild_signing, true) }}: - - task: MicroBuildSigningPlugin@2 + - task: MicroBuildSigningPlugin@4 displayName: Install MicroBuild plugin inputs: signType: real @@ -90,6 +90,7 @@ jobs: feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json env: TeamName: Orleans + MicroBuildOutputFolderOverride: '$(Agent.TempDirectory)' - checkout: self - task: UseDotNet@2 displayName: 'Use .NET Core sdk' diff --git a/.azure/pipelines/templates/vars.yaml b/.azure/pipelines/templates/vars.yaml index 748bfa6a61..4dcf663c1f 100644 --- a/.azure/pipelines/templates/vars.yaml +++ b/.azure/pipelines/templates/vars.yaml @@ -5,6 +5,7 @@ variables: solution: 'Orleans.sln' codesign_runtime: '2.1.x' GDN_SUPPRESS_FORKED_BUILD_WARNING: true # Avoid warning "Guardian is not supported for builds from forked GitHub repositories" + MicroBuildOutputFolderOverride: '$(Agent.TempDirectory)' # Auto-injection is not necessary because the tasks are explicitly included where they're enabled. Codeql.SkipTaskAutoInjection: true ${{ if eq(variables['System.TeamProject'], 'GitHub - PR Builds') }}: