mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-27 08:58:09 +08:00
Both docs-orchestrator metadata jobs set CCACHE_DIR: ~/.ccache via the job env. Actions stores env values literally and ccache does not expand ~, so ccache used $GITHUB_WORKSPACE/~/.ccache while actions/cache saved and restored $HOME/.ccache. Every restore was empty and every save uploaded nothing, so px4_sitl_default rebuilt cold on every run. Switch both jobs to the shared setup-ccache/save-ccache actions, which default ccache to $HOME/.ccache (matching the cached path) and apply the same base_dir, compiler_check, and compression settings used across the rest of CI.