Commit 3bc21f2
committed
fix(ci): use package version for WASM workflow cache keys
Both ONNX Runtime and Yoga Layout build caches were not invalidating when
their versions changed. Now both use package.json version field (which
matches upstream release versions) for proper cache busting.
Changes:
- ONNX Runtime: Update package version 1.0.0 → 1.21.1 (matches v1.21.1)
- Yoga Layout: Update package version 1.0.0 → 3.1.0 (matches v3.1.0)
- Both build scripts read version from package.json and prepend 'v' for git tags
- Workflows extract versions from package.json (standard semver, no custom fields)
- Cache keys include both file hash and version for proper invalidation1 parent 17cd284 commit 3bc21f2
File tree
3 files changed
+11
-4
lines changed- .github/workflows
- packages/yoga-layout
- scripts
3 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments