Cache

Cache settings to speed up the build

Activates caching content that does not often change in order to speed up the build process.

There are built-in caching strategies for apt, bundler, cargo, ccache, cocoapods, npm, packages, pip, yarn. For other scenarios the generic directory option can be used.

See also

Types

Keys

If given a map, the following keys are supported:

Examples

cache:
  directories:
  - "./path"
  apt: true
  bundler: true
cache: false

Beta