Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit b6de0a7

Browse files
committed
Use the new key format in one line
1 parent 92f0aa6 commit b6de0a7

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.azure/linux-stack.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ jobs:
3030
steps:
3131
- task: CacheBeta@0
3232
inputs:
33-
key: |
34-
"cache"
35-
$(Agent.OS)
36-
$(Build.SourcesDirectory)/$(YAML_FILE)
33+
key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE)
3734
path: .azure-cache
3835
cacheHitVar: CACHE_RESTORED
3936
displayName: "Download cache"

.azure/macos-stack.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
steps:
2727
- task: CacheBeta@0
2828
inputs:
29-
key: |
30-
"cache"
31-
$(Agent.OS)
32-
$(Build.SourcesDirectory)/$(YAML_FILE)
29+
key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE)
3330
path: .azure-cache
3431
cacheHitVar: CACHE_RESTORED
3532
displayName: "Download cache"

.azure/windows-stack.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ jobs:
2929
steps:
3030
- task: CacheBeta@0
3131
inputs:
32-
key: |
33-
"stack-root"
34-
$(Agent.OS)
35-
$(Build.SourcesDirectory)/$(YAML_FILE)
32+
key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE)
3633
path: $(STACK_ROOT)
3734
displayName: "Cache stack-root"
3835
- task: CacheBeta@0

0 commit comments

Comments
 (0)