chocobo1/Setup ccache action

Setup ccache easily in your workflow, with all the tuning knobs you need!

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
update_packager_indexBy default, this action will update packager's indexes to avoid installation issues (`apt`/`brew` on linux/macOS respectively). You can disable it to save some time however you are then responsible for ensuring the packager's indexes are up-to-date *before* using this actionnotrue
install_ccacheBy default, this action will install ccache with package manager. You can omit installation if you've already installed ccache and it is accessible in the shellnotrue
prepend_symlinks_to_pathBy default, this action will prepend ccache's compiler symlinks directory to PATH so that compiler invocations will be handled by ccache transparently. https://ccache.dev/manual/latest.html#_run_modesnotrue
windows_compile_environmentSpecify which compiler environment you are going to use on Windows image. Note that this field (a single value) is mandatory if you use this action on a Windows image. Available options are: ['msvc', 'msys2']no""
api_tokenToken for using GitHub APIno${{ github.token }}
restore_cacheWhether to restore the cache at the start of this actionnotrue
store_cacheWhether to store the cache at the end of job executionnotrue
remove_stale_cacheWhether to remove previous/stale cache entries after store cache completed. This requires parameter `api_token` to be valid. This requires `actions: write` permission. Note that for GitHub Pull Requests, only `actions: read` permission will be given so this feature won't work reliably there.notrue
override_cache_keyOverride cache key which is used for storing/retrieving the cache. Accept a string. Leave it empty to use the default valueno""
override_cache_key_fallbackOverride additional cache keys for retrieving the cache. Accept a list of strings. Leave it empty to use the default valueno""
ccache_optionsConfig settings for ccache. Accept a list of key=value pairs. Ref: https://ccache.dev/manual/latest.html#_configuration_optionsno""
namedescription
cache_hitThis variable will be set to `true` when there is an cache hit, otherwise `false`