dependency cache

Saved copies of downloaded dependencies that GitHub Actions restores into later runs so they need not be fetched again.

In more detail

The cache action restores a directory under a key before the job body and saves it after the job succeeds; its cache-hit output is true only for an exact key match. Entries are immutable, scoped per branch with a fallback to the default branch, and evicted when unused for about a week or when the repository exceeds its limit. Cache inputs such as downloads only: never build output and never secrets.

Related terms

Taught in

References

Certification courses