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 ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- name: Cache build
|
- name: Cache build
|
||||||
id: cache
|
uses: actions/upload-artifact@v3
|
||||||
uses: LumeWeb/github-action-cache/save@main
|
|
||||||
with:
|
with:
|
||||||
# npm cache files are stored in `~/.npm` on Linux/macOS
|
name: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
path: ./
|
path: ./
|
||||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- uses: LumeWeb/github-action-cache/restore@main
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: .
|
name: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
key: cache-${{ github.run_id }}-${{ github.run_attempt }}
|
|
||||||
- name: Install SSH key
|
- name: Install SSH key
|
||||||
uses: shimataro/ssh-key-action@v2
|
uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue