From b6de0a78349d40643b6348a087044c51eb8d981e Mon Sep 17 00:00:00 2001 From: jneira Date: Thu, 26 Sep 2019 11:41:42 +0200 Subject: [PATCH] Use the new key format in one line --- .azure/linux-stack.yml | 5 +---- .azure/macos-stack.yml | 5 +---- .azure/windows-stack.yml | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.azure/linux-stack.yml b/.azure/linux-stack.yml index 5b88f37b4..ee5705ae2 100644 --- a/.azure/linux-stack.yml +++ b/.azure/linux-stack.yml @@ -30,10 +30,7 @@ jobs: steps: - task: CacheBeta@0 inputs: - key: | - "cache" - $(Agent.OS) - $(Build.SourcesDirectory)/$(YAML_FILE) + key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE) path: .azure-cache cacheHitVar: CACHE_RESTORED displayName: "Download cache" diff --git a/.azure/macos-stack.yml b/.azure/macos-stack.yml index fa005842f..c139e5baa 100644 --- a/.azure/macos-stack.yml +++ b/.azure/macos-stack.yml @@ -26,10 +26,7 @@ jobs: steps: - task: CacheBeta@0 inputs: - key: | - "cache" - $(Agent.OS) - $(Build.SourcesDirectory)/$(YAML_FILE) + key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE) path: .azure-cache cacheHitVar: CACHE_RESTORED displayName: "Download cache" diff --git a/.azure/windows-stack.yml b/.azure/windows-stack.yml index 1dec036dc..5bdacce5f 100644 --- a/.azure/windows-stack.yml +++ b/.azure/windows-stack.yml @@ -29,10 +29,7 @@ jobs: steps: - task: CacheBeta@0 inputs: - key: | - "stack-root" - $(Agent.OS) - $(Build.SourcesDirectory)/$(YAML_FILE) + key: stack-root | $(Agent.OS) | $(Build.SourcesDirectory)/$(YAML_FILE) path: $(STACK_ROOT) displayName: "Cache stack-root" - task: CacheBeta@0