Commit 5ff9945
committed
fix: add enableCrossOsArchive to cache save/restore for cross-OS artifact transfer
The build jobs save caches on macOS and Windows runners, but the release
job restores them on a Linux runner. actions/cache includes runner.os in
its internal version hash by default, making caches from other OSes
invisible even when the user-specified key matches. Adding
enableCrossOsArchive: true on both cache/save and cache/restore steps
ensures the OS is excluded from the version hash, allowing cross-OS
cache lookup to succeed.1 parent a2460de commit 5ff9945
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
| 444 | + | |
443 | 445 | | |
444 | 446 | | |
445 | 447 | | |
| |||
449 | 451 | | |
450 | 452 | | |
451 | 453 | | |
| 454 | + | |
452 | 455 | | |
453 | 456 | | |
454 | 457 | | |
| |||
458 | 461 | | |
459 | 462 | | |
460 | 463 | | |
| 464 | + | |
461 | 465 | | |
462 | 466 | | |
463 | 467 | | |
| |||
467 | 471 | | |
468 | 472 | | |
469 | 473 | | |
| 474 | + | |
470 | 475 | | |
471 | 476 | | |
472 | 477 | | |
| |||
0 commit comments