Loading tutorials
Intermediate · Mid: 15 chapters · 36 min read. States assumed prerequisites
Start reading.github/workflows, read YAML, and run a package manager such as npm. You should also know that a workflow is made of jobs, jobs are made of steps, and each job runs on its own fresh runner.actions/cache does, and have used a package manager such as npm. It covers how to build a cache key that changes when your dependencies change.actions/cache with a key built from hashFiles. If you haven't, read the chapters on actions/cache and cache keys first.actions/cache with a key built from hashFiles. If not, review the chapters on actions/cache and cache keys first..github/workflows, read YAML, and use a package manager such as npm. You should also know what a job, a step, and a runner are.strategy.matrix expands one job into several. If not, review the previous chapter on build matrices first.actions/cache uses key and restore-keys, and that you have seen strategy.matrix. It shows how to combine the two.strategy.matrix block and know how include and exclude change the job list. It covers the two settings that control how those jobs run: fail-fast and max-parallel.actions/cache step with a key built from hashFiles, and that you know what restore-keys do. Here you learn which caches a run can see, why a saved cache never changes, and how GitHub removes old caches.actions/cache does, and have built cache keys with hashFiles. Caches and artifacts both store files from a run. They solve different problems, and mixing them up is a common source of slow or broken pipelines.actions/cache to a workflow and build a key with hashFiles. It shows how to tell whether a run restored a cache and how to find out why one didn't.actions/cache does, and understand cache keys built with hashFiles. You should also know that a cache entry is immutable once saved.