Update .gitea/workflows/build.yml

This commit is contained in:
2023-07-14 22:00:49 +02:00
parent bb2f796259
commit 584c38caf8
+6 -1
View File
@@ -23,8 +23,13 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: '18' 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 - 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 - name: Setup Chache
uses: https://github.com/actions/cache@v3 uses: https://github.com/actions/cache@v3
with: with: