ci(testbox): save build artifact cache before wait

This commit is contained in:
Vincent Koc
2026-04-26 21:06:29 -07:00
parent 9626ef274a
commit 4cc572a813

View File

@@ -135,7 +135,7 @@ jobs:
- name: Restore dist build cache
id: dist-cache
uses: actions/cache@v5
uses: actions/cache/restore@v5
with:
path: |
.artifacts/build-all-cache/
@@ -166,6 +166,16 @@ jobs:
test -f dist/build-info.json
test -f dist/control-ui/index.html
- name: Save dist build cache
if: steps.dist-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v5
with:
path: |
.artifacts/build-all-cache/
dist/
dist-runtime/
key: ${{ runner.os }}-dist-build-${{ github.sha }}
- name: Prepare Testbox shell
shell: bash
run: |