[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

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

View File

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