debug: switch to using artifacts with 1 day retention
This commit is contained in:
parent
3095237e16
commit
f3e50526e4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue