Skip to content

Commit 39021ed

Browse files
committed
Re-enable MSBuildCache
1 parent 471f6d1 commit 39021ed

File tree

6 files changed

+12
-15
lines changed

6 files changed

+12
-15
lines changed

.pipelines/v2/ci-test-with-canary-webview2.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919
- name: enableMsBuildCaching
2020
type: boolean
2121
displayName: "Enable MSBuild Caching"
22-
default: false
22+
default: true
2323
- name: runTests
2424
type: boolean
2525
displayName: "Run Tests"
@@ -36,7 +36,8 @@ extends:
3636
template: templates/pipeline-ci-build.yml
3737
parameters:
3838
buildPlatforms: ${{ parameters.buildPlatforms }}
39-
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
39+
${{ if eq(variables['System.PullRequest.IsFork'], 'False') }}:
40+
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
4041
runTests: ${{ parameters.runTests }}
4142
useVSPreview: ${{ parameters.useVSPreview }}
4243
useLatestWebView2: ${{ parameters.useLatestWebView2 }}

.pipelines/v2/ci-using-the-latest-winappsdk.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ parameters:
1919
- name: enableMsBuildCaching
2020
type: boolean
2121
displayName: "Enable MSBuild Caching"
22-
default: false
22+
default: true
2323
- name: runTests
2424
type: boolean
2525
displayName: "Run Tests"
@@ -42,7 +42,8 @@ extends:
4242
template: templates/pipeline-ci-build.yml
4343
parameters:
4444
buildPlatforms: ${{ parameters.buildPlatforms }}
45-
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
45+
${{ if eq(variables['System.PullRequest.IsFork'], 'False') }}:
46+
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
4647
runTests: ${{ parameters.runTests }}
4748
useVSPreview: ${{ parameters.useVSPreview }}
4849
useLatestWinAppSDK: ${{ parameters.useLatestWinAppSDK }}

.pipelines/v2/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ parameters:
3232
- name: enableMsBuildCaching
3333
type: boolean
3434
displayName: "Enable MSBuild Caching"
35-
default: false
35+
default: true
3636
- name: runTests
3737
type: boolean
3838
displayName: "Run Tests"
@@ -46,6 +46,7 @@ extends:
4646
template: templates/pipeline-ci-build.yml
4747
parameters:
4848
buildPlatforms: ${{ parameters.buildPlatforms }}
49-
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
49+
${{ if eq(variables['System.PullRequest.IsFork'], 'False') }}:
50+
enableMsBuildCaching: ${{ parameters.enableMsBuildCaching }}
5051
runTests: ${{ parameters.runTests }}
5152
useVSPreview: ${{ parameters.useVSPreview }}

.pipelines/v2/templates/pipeline-ci-build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ variables:
33
value: false
44
- name: EnablePipelineCache
55
value: true
6-
- ${{ if eq(parameters.enableMsBuildCaching, true) }}:
7-
- name: EnablePipelineCache
8-
value: true
96

107
parameters:
118
- name: buildPlatforms

.pipelines/v2/templates/pipeline-ui-tests-automation.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ variables:
33
value: false
44
- name: EnablePipelineCache
55
value: true
6-
- ${{ if eq(parameters.enableMsBuildCaching, true) }}:
7-
- name: EnablePipelineCache
8-
value: true
96

107
parameters:
118
- name: buildPlatforms

packages.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.MSBuildCache.AzurePipelines" version="0.1.283-preview" />
4-
<package id="Microsoft.MSBuildCache.Local" version="0.1.283-preview" />
5-
<package id="Microsoft.MSBuildCache.SharedCompilation" version="0.1.283-preview" />
3+
<package id="Microsoft.MSBuildCache.AzurePipelines" version="0.1.318-preview" />
4+
<package id="Microsoft.MSBuildCache.Local" version="0.1.318-preview" />
5+
<package id="Microsoft.MSBuildCache.SharedCompilation" version="0.1.318-preview" />
66
</packages>

0 commit comments

Comments
 (0)