Commit bfb0231
committed
fix(ci): move Windows WASM cache check before build attempt
Move the Windows WASM cache requirement check to run immediately after
cache validation steps, before attempting to build WASM assets. This
prevents Windows builds from failing during AI model downloads due to
network issues.
Previous behavior:
- Cache validation steps run
- Setup Python and start building WASM assets
- Windows builds fail during AI model download from Hugging Face
- Windows cache check never triggered (too late in workflow)
New behavior:
- Cache validation steps run
- Windows cache check runs immediately if any cache invalid
- Build fails fast with clear error message before setup steps
- No wasted time on expensive Python/Emscripten setup
The check now correctly blocks Windows builds that don't have pre-cached
WASM assets from build-wasm.yml workflow.1 parent 90a6344 commit bfb0231
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
157 | 164 | | |
158 | 165 | | |
159 | 166 | | |
| |||
239 | 246 | | |
240 | 247 | | |
241 | 248 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments