[Build]reintroduce variables.EnablePipelineCache (#35087)

* build: reintroduce variables.EnablePipelineCache
This commit is contained in:
Dustin L. Howett
2024-09-27 04:39:42 -05:00
committed by GitHub
parent e79b0163b7
commit 474c6f7322
2 changed files with 4 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ parameters:
- name: enableMsBuildCaching - name: enableMsBuildCaching
type: boolean type: boolean
displayName: "Enable MSBuild Caching" displayName: "Enable MSBuild Caching"
default: false default: true
- name: runTests - name: runTests
type: boolean type: boolean
displayName: "Run Tests" displayName: "Run Tests"

View File

@@ -3,6 +3,9 @@ variables:
value: false value: false
- name: EnablePipelineCache - name: EnablePipelineCache
value: true value: true
- ${{ if eq(parameters.enableMsBuildCaching, true) }}:
- name: EnablePipelineCache
value: true
parameters: parameters:
- name: buildPlatforms - name: buildPlatforms