Commit 7e372b5
fix: split clcache into restore/save steps, drop deprecated save-always
actions/cache v5.0.5 marks save-always as deprecated and "not working as
intended". Replace the single cache step with a restore step before the
build and a save step after, guarded by always() so it runs on build
failure too. The save is skipped on an exact cache-hit to avoid redundant
uploads.
https://claude.ai/code/session_01XTvMZtPH8WpuiRBZkqWiHk1 parent 7a5d365 commit 7e372b5
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
0 commit comments