Change the cache key

This commit is contained in:
Ladislau Szomoru
2026-02-14 10:03:24 +01:00
parent 2d46cb7b3c
commit ad45772981

View File

@@ -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"