debug: switch to using artifacts with 1 day retention

This commit is contained in:
Derrick Hammer 2023-06-25 02:49:12 -04:00
parent 3095237e16
commit f3e50526e4
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 7 deletions

View File

@ -16,20 +16,17 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- name: Cache build
id: cache
uses: LumeWeb/github-action-cache/save@main
uses: actions/upload-artifact@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
name: cache-${{ github.run_id }}-${{ github.run_attempt }}
path: ./
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
publish:
runs-on: ubuntu-latest
needs: build
steps:
- uses: LumeWeb/github-action-cache/restore@main
- uses: actions/download-artifact@v3
with:
path: .
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
name: cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with: