jp-pino/Cache checkout and build

Checkout a repo and cache build for faster installation next time

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repositoryRepository name with owner. For example, actions/checkout${{ github.repository }}
refThe branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch. ""
tokenPersonal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) ${{ github.token }}
submodulesWhether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules. Passed straight through to actions/checkout, which fetches them with the same token (SSH URLs are rewritten to HTTPS). false
cmake-flagsFlags to pass to cmake on build""
build-flagsFlags to pass to cmake --build on build""
pre-build-commandCommand to run before building""
shellThe shell to use for the build stepsbash
namedescription
cache-restore-hitWhether the cache was hit or not on restore
cache-save-hitWhether the cache was hit or not on save
latest-refThe latest ref of the repository (sha)