update cache key

This commit is contained in:
medusa
2024-08-27 17:31:27 +08:00
parent aba60ea2e0
commit 8aa5c3e5ee
2 changed files with 4 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ jobs:
- name: Runner Debug Information
id: debug-info
run: |
cp -v ${{ env.SOURCECODE_DIR }}/project/package.json .
cd ${{ env.SOURCECODE_DIR }}
echo "git version: $(git --version)"
echo "git lfs version: $(git-lfs --version)"
@@ -86,7 +87,7 @@ jobs:
with:
path: |
${{ env.SOURCECODE_DIR }}/project/node_modules
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('${{ env.SOURCECODE_DIR }}/project/package.json') }}
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package.json') }}
restore-keys: |
${{ runner.os }}-npm-dependencies-