mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Engineering - more descriptive cache names (#254496)
Engineering - mode descriptive cache names
This commit is contained in:
2
.github/workflows/pr-darwin-test.yml
vendored
2
.github/workflows/pr-darwin-test.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Extract node_modules cache
|
||||
if: steps.cache-node-modules.outputs.cache-hit == 'true'
|
||||
|
||||
2
.github/workflows/pr-linux-test.yml
vendored
2
.github/workflows/pr-linux-test.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-linux-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Extract node_modules cache
|
||||
if: steps.cache-node-modules.outputs.cache-hit == 'true'
|
||||
|
||||
8
.github/workflows/pr-node-modules.yml
vendored
8
.github/workflows/pr-node-modules.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-compile-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Install build tools
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
@@ -106,7 +106,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-linux-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Install build dependencies
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
@@ -180,7 +180,7 @@ jobs:
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-macos-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
@@ -246,7 +246,7 @@ jobs:
|
||||
id: node-modules-cache
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-windows-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Install dependencies
|
||||
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
||||
|
||||
2
.github/workflows/pr-win32-test.yml
vendored
2
.github/workflows/pr-win32-test.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
||||
id: node-modules-cache
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-windows-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Extract node_modules cache
|
||||
if: steps.node-modules-cache.outputs.cache-hit == 'true'
|
||||
|
||||
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: .build/node_modules_cache
|
||||
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
|
||||
key: "node_modules-compile-${{ hashFiles('.build/packagelockhash') }}"
|
||||
|
||||
- name: Extract node_modules cache
|
||||
if: steps.cache-node-modules.outputs.cache-hit == 'true'
|
||||
|
||||
Reference in New Issue
Block a user