mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Restore compiler caches through a shared setup action and save them explicitly only when compilation reports cache misses. Keep existing restore prefixes and make cache-save failures nonfatal. Before saving ccache, prune entries that were not used during the job. This avoids duplicate snapshots on fully cached runs and removes unrelated restored objects from changed snapshots. Key the MSVC installed prefix by its dependency build inputs rather than unrelated workflow edits; dependency options remain in the hashed helper project. Validation: actual ccache 4.9.1 cold/warm and pruning checks; sccache statistics and failure-path checks; nine workflow setup/save pairs; actionlint, git diff --check, and meson test -C build (302 passed, one skipped). Remote uploads remain for CI. Assisted-by: OpenAI Codex