update cache key
This commit is contained in:
3
.github/workflows/build-nightly-cron.yaml
vendored
3
.github/workflows/build-nightly-cron.yaml
vendored
@@ -112,6 +112,7 @@ jobs:
|
|||||||
- name: Runner Debug Information
|
- name: Runner Debug Information
|
||||||
id: debug-info
|
id: debug-info
|
||||||
run: |
|
run: |
|
||||||
|
cp -v ${{ env.SOURCECODE_DIR }}/project/package.json .
|
||||||
cd ${{ env.SOURCECODE_DIR }}
|
cd ${{ env.SOURCECODE_DIR }}
|
||||||
echo "git version: $(git --version)"
|
echo "git version: $(git --version)"
|
||||||
echo "git lfs version: $(git-lfs --version)"
|
echo "git lfs version: $(git-lfs --version)"
|
||||||
@@ -128,7 +129,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.SOURCECODE_DIR }}/project/node_modules
|
${{ 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: |
|
restore-keys: |
|
||||||
${{ runner.os }}-npm-dependencies-
|
${{ runner.os }}-npm-dependencies-
|
||||||
|
|
||||||
|
|||||||
3
.github/workflows/build-nightly-manual.yaml
vendored
3
.github/workflows/build-nightly-manual.yaml
vendored
@@ -70,6 +70,7 @@ jobs:
|
|||||||
- name: Runner Debug Information
|
- name: Runner Debug Information
|
||||||
id: debug-info
|
id: debug-info
|
||||||
run: |
|
run: |
|
||||||
|
cp -v ${{ env.SOURCECODE_DIR }}/project/package.json .
|
||||||
cd ${{ env.SOURCECODE_DIR }}
|
cd ${{ env.SOURCECODE_DIR }}
|
||||||
echo "git version: $(git --version)"
|
echo "git version: $(git --version)"
|
||||||
echo "git lfs version: $(git-lfs --version)"
|
echo "git lfs version: $(git-lfs --version)"
|
||||||
@@ -86,7 +87,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
${{ env.SOURCECODE_DIR }}/project/node_modules
|
${{ 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: |
|
restore-keys: |
|
||||||
${{ runner.os }}-npm-dependencies-
|
${{ runner.os }}-npm-dependencies-
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user