fix: add restore-keys
This commit is contained in:
parent
c5eaa34e39
commit
7faad1ecc7
|
@ -15,7 +15,7 @@ jobs:
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- name: Cache node modules
|
- name: Cache build
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
@ -30,6 +30,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: .
|
path: .
|
||||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
restore-keys: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
- name: Install SSH key
|
- name: Install SSH key
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue