mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
Change the cache key
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user