debug: try to use cache action v2 due to restore bugs

This commit is contained in:
Derrick Hammer 2023-06-25 02:10:21 -04:00
parent f567d48adf
commit db50ced55c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -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 }}