fix: switch to save
This commit is contained in:
parent
7faad1ecc7
commit
f567d48adf
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- name: Cache build
|
- name: Cache build
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
# npm cache files are stored in `~/.npm` on Linux/macOS
|
# npm cache files are stored in `~/.npm` on Linux/macOS
|
||||||
path: ./
|
path: ./
|
||||||
|
@ -30,7 +30,6 @@ 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