Revert "debug: v2 doesnt have separate save/restore actions"
This reverts commit fd5020c6d8
.
This commit is contained in:
parent
fd5020c6d8
commit
f27c2de30a
|
@ -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@v2
|
uses: actions/cache/save@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@v2
|
- uses: actions/cache/restore@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