Commit 81b876a
committed
fix(ci): enable cross-OS cache sharing for Windows builds
Add enableCrossOsArchive: true to all WASM cache actions to allow Windows
runners to access caches created on Linux runners.
Root cause:
- build-wasm.yml runs on ubuntu-latest (Linux)
- Creates caches using Linux-specific compression
- build-sea.yml Linux/macOS jobs could access these caches
- build-sea.yml Windows jobs could NOT access Linux caches (OS-specific by default)
GitHub Actions caches are OS-specific unless explicitly configured for
cross-platform sharing. Windows requires enableCrossOsArchive: true to
access caches created on Linux/macOS runners.
Changes:
- build-wasm.yml: Add enableCrossOsArchive to Yoga, AI, ONNX caches
- build-sea.yml: Add enableCrossOsArchive to all three cache/restore actions
This allows Windows SEA builds to use WASM assets cached by Linux runners,
eliminating the cache miss errors that were causing Windows builds to fail.
References:
- https://github.com/actions/cache#cross-os-cache
- https://github.com/orgs/community/discussions/270591 parent f7624d9 commit 81b876a
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
| |||
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
259 | 261 | | |
260 | 262 | | |
261 | 263 | | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
| |||
0 commit comments