Commit 2c12e4d
fix(ci): Enable cross-OS cache archive for container compatibility
actions/cache computes an internal version hash from the cache paths
and runner environment. When a cache is saved on the host runner but
restored inside a Docker container, the paths resolve differently
(e.g. ~ expands to /home/runner vs /root), causing a version mismatch
and cache miss.
Adding `enableCrossOsArchive: true` to all cache save/restore steps
makes the version hash environment-independent, allowing caches to be
shared between host runners and container jobs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5fd99df commit 2c12e4d
File tree
4 files changed
+14
-0
lines changed- .github
- actions
- install-dependencies
- restore-cache
- workflows
4 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
| 882 | + | |
| 883 | + | |
882 | 884 | | |
883 | 885 | | |
884 | 886 | | |
| |||
961 | 963 | | |
962 | 964 | | |
963 | 965 | | |
| 966 | + | |
| 967 | + | |
964 | 968 | | |
965 | 969 | | |
966 | 970 | | |
| |||
1081 | 1085 | | |
1082 | 1086 | | |
1083 | 1087 | | |
| 1088 | + | |
| 1089 | + | |
1084 | 1090 | | |
1085 | 1091 | | |
1086 | 1092 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
0 commit comments