refactor: use own cache key build code-server job
This commit is contained in:
parent
0aecf9e108
commit
d00ab199f4
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -170,9 +170,9 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: "**/node_modules"
|
path: "**/node_modules"
|
||||||
key: yarn-build-${{ hashFiles('**/yarn.lock') }}
|
key: yarn-build-code-server-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
yarn-build-
|
yarn-build-code-server-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||||
|
Reference in New Issue
Block a user