ci(testbox): save build artifact cache before wait · openclaw/openclaw@a33a2c9
vincentkoc
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -135,7 +135,7 @@ jobs:
|
135 | 135 | |
136 | 136 | - name: Restore dist build cache |
137 | 137 | id: dist-cache |
138 | | -uses: actions/cache@v5 |
| 138 | +uses: actions/cache/restore@v5 |
139 | 139 | with: |
140 | 140 | path: | |
141 | 141 | .artifacts/build-all-cache/ |
@@ -166,6 +166,16 @@ jobs:
|
166 | 166 | test -f dist/build-info.json |
167 | 167 | test -f dist/control-ui/index.html |
168 | 168 | |
| 169 | + - name: Save dist build cache |
| 170 | +if: steps.dist-cache.outputs.cache-hit != 'true' |
| 171 | +uses: actions/cache/save@v5 |
| 172 | +with: |
| 173 | +path: | |
| 174 | + .artifacts/build-all-cache/ |
| 175 | + dist/ |
| 176 | + dist-runtime/ |
| 177 | + key: ${{ runner.os }}-dist-build-${{ github.sha }} |
| 178 | + |
169 | 179 | - name: Prepare Testbox shell |
170 | 180 | shell: bash |
171 | 181 | run: | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。