mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
chore: test cache
This commit is contained in:
parent
bf416e47b3
commit
9a699e082d
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -16,7 +16,9 @@ jobs:
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> $GITHUB_ENV
|
||||
|
||||
- run: echo $YARN_CACHE_DIR
|
||||
|
||||
- name: Cache node modules
|
||||
id: cache-npm
|
||||
@ -24,7 +26,7 @@ jobs:
|
||||
env:
|
||||
cache-name: cache-node-modules
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
path: ${{ env.YARN_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||
|
Loading…
Reference in New Issue
Block a user