atmos ci cache
Reduce repeated downloads and setup work in CI by reusing installed tools and other cached artifacts between runs. Atmos restores and saves the configured cache through the CI provider.
Learn how to enable the cache, choose automatic vs. manual behavior, and customize the cache key, paths, and restore-keys in your atmos.yaml.
Lifecycle
The cache includes the toolchain install path and other files under the Atmos cache root. Atmos uses the active CI provider's cache store—the same store used by actions/cache on GitHub Actions.
The cache lifecycle can run in a single Atmos invocation (automatic restore-on-start and save-on-end) or be spread across CI steps with the explicit subcommands:
Both styles share one implementation. "Automatic" is just the same idempotent operations invoked by the process lifecycle, so manual and automatic invocations never double-execute (cache entries are write-once; an exact-key hit at restore time skips the save).
Requirements
Saving and restoring content require running inside a supported CI provider (GitHub Actions today), which exposes the runtime cache credentials. Outside CI, these commands report that the cache is unavailable. The cache must also be enabled — see the configuration reference.
Subcommands
Delete a CI cache entry by key.
List CI cache entries.
Print the cache key and paths for use with actions/cache.
Restore the CI cache into the well-known cache directory.
Save the well-known cache directory to the CI cache.
Related
- CI Cache Configuration - Configure the cache in
atmos.yaml - CI Configuration - Configure CI integration
atmos toolchain- Manage the toolchain that the cache warm-starts