Update .gitea/workflows/build.yml
This commit is contained in:
@@ -23,8 +23,13 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
- uses: actions/go-hashfiles@v0.0.1
|
||||
id: get-cache-hash
|
||||
with:
|
||||
patterns: |-
|
||||
**/package-lock.json
|
||||
- name: Show key future key value
|
||||
run: echo "deps-node-modules-${{ hashFiles('**/package-lock.json') }}"
|
||||
run: echo "deps-node-modules-${{ steps.get-cache-hash.outputs.hash }}"
|
||||
- name: Setup Chache
|
||||
uses: https://github.com/actions/cache@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user