debug: v2 doesnt have separate save/restore actions
This commit is contained in:
parent
db50ced55c
commit
fd5020c6d8
|
@ -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/save@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
# npm cache files are stored in `~/.npm` on Linux/macOS
|
# npm cache files are stored in `~/.npm` on Linux/macOS
|
||||||
path: ./
|
path: ./
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/cache/restore@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: .
|
path: .
|
||||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
|
Loading…
Reference in New Issue