debug: try to use cache action v2 due to restore bugs
This commit is contained in:
parent
f567d48adf
commit
db50ced55c
|
@ -17,7 +17,7 @@ jobs:
|
|||
- run: npm run build --if-present
|
||||
- name: Cache build
|
||||
id: cache
|
||||
uses: actions/cache/save@v3
|
||||
uses: actions/cache/save@v2
|
||||
with:
|
||||
# npm cache files are stored in `~/.npm` on Linux/macOS
|
||||
path: ./
|
||||
|
@ -26,7 +26,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/cache/restore@v3
|
||||
- uses: actions/cache/restore@v2
|
||||
with:
|
||||
path: .
|
||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||
|
|
Loading…
Reference in New Issue