From c8e16da7a7ac5344a980aeb69ed3989ee9c00e34 Mon Sep 17 00:00:00 2001 From: "Dustin L. Howett" Date: Thu, 26 Sep 2024 17:33:01 -0500 Subject: [PATCH] do it right, fool --- .pipelines/v2/templates/pipeline-ci-build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.pipelines/v2/templates/pipeline-ci-build.yml b/.pipelines/v2/templates/pipeline-ci-build.yml index b870a95c37..17f4654ccd 100644 --- a/.pipelines/v2/templates/pipeline-ci-build.yml +++ b/.pipelines/v2/templates/pipeline-ci-build.yml @@ -3,6 +3,9 @@ variables: value: false - name: EnablePipelineCache value: true + - ${{ if eq(parameters.enableMsBuildCaching, true) }}: + - name: EnablePipelineCache + value: true parameters: - name: buildPlatforms @@ -17,10 +20,6 @@ parameters: type: boolean default: true -variables: - ${{ if eq(parameters.enableMsBuildCaching, true) }}: - EnablePipelineCache: true - stages: # Allow manual builds to skip pre-check - ${{ if ne(variables['Build.Reason'], 'Manual') }}: