From ad4577298151d7f81f2aec89e53cdf3842233b2e Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Sat, 14 Feb 2026 10:03:24 +0100 Subject: [PATCH] Change the cache key --- build/azure-pipelines/cli/cli-compile.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/azure-pipelines/cli/cli-compile.yml b/build/azure-pipelines/cli/cli-compile.yml index 82865f6af83..0b6e8271c30 100644 --- a/build/azure-pipelines/cli/cli-compile.yml +++ b/build/azure-pipelines/cli/cli-compile.yml @@ -20,18 +20,18 @@ steps: - script: echo "##vso[task.setvariable variable=VSCODE_CLI_PRODUCT_JSON]$(Build.SourcesDirectory)/.build/distro/mixin/${{ parameters.VSCODE_QUALITY }}/product.json" displayName: Set product.json path + - task: Cache@2 + displayName: Restore Cargo cache + inputs: + key: 'cargo | "$(Agent.OS)" | "${{ parameters.VSCODE_CLI_TARGET }}" | $(Build.SourcesDirectory)/cli/Cargo.lock | $(Build.SourcesDirectory)/build/.cachesalt' + path: $(Pipeline.Workspace)/.cargo + - task: Cache@2 displayName: Restore sccache cache inputs: key: 'sccache | "$(Agent.OS)" | "${{ parameters.VSCODE_CLI_TARGET }}" | "${{ parameters.VSCODE_CHECK_ONLY }}" | $(Build.SourcesDirectory)/cli/Cargo.toml | $(Build.SourcesDirectory)/build/.cachesalt' path: $(Pipeline.Workspace)/sccache - - task: Cache@2 - displayName: Restore Cargo cache - inputs: - key: 'cargo | "$(Agent.OS)" | "${{ parameters.VSCODE_CLI_TARGET }}" | "${{ parameters.VSCODE_CHECK_ONLY }}" | $(Build.SourcesDirectory)/cli/Cargo.lock | $(Build.SourcesDirectory)/build/.cachesalt' - path: $(Pipeline.Workspace)/.cargo - - ${{ if contains(parameters.VSCODE_CLI_TARGET, '-windows-') }}: - pwsh: | $version = "0.14.0"