fix: add restore-keys

This commit is contained in:
Derrick Hammer 2023-06-25 01:44:46 -04:00
parent c5eaa34e39
commit 7faad1ecc7
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- name: Cache node modules
- name: Cache build
id: cache
uses: actions/cache@v3
with:
@ -30,6 +30,7 @@ jobs:
with:
path: .
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with: