Loading tutorials
on key, which decides when a workflow starts.2 min readon key sets triggers, and understand Git branches, tags, and pull requests. Filters narrow a trigger so a workflow starts only for the events you care about.2 min readruns-on key tells GitHub which kind of runner to use.2 min readon, jobs, and runs-on keys. It covers what a step is, how steps share state, and what happens when one fails.2 min readrun, or it calls a reusable action with uses.2 min readstrategy.matrix key, which runs one job definition many times with different values.2 min readon, jobs, and steps. It covers how a workflow reads data about the run and computes values from it.2 min read${{ }} expressions and contexts. Here you will use the if key to decide whether a step or a job runs.2 min read${{ }} expression syntax. Here you will learn where to set environment variables, which scope wins, and the mistakes that trip people up.2 min readenv works at the workflow, job, and step level. Secrets are encrypted values stored outside your repository. A workflow can read them, but they never appear in the YAML.2 min readrun steps and ${{ }} expressions. Step outputs let one step hand a value to a later step in the same job.2 min readneeds orders jobs. It builds on step outputs, which you saw in the previous chapter.2 min readneeds, and read a matrix definition. Each job runs on a fresh runner, so files created in one job do not exist in the next. Artifacts move files between jobs. Caches make repeated work faster.2 min readsecrets and env. It covers two safeguards: limiting what the built-in token can do, and stopping runs from overlapping.2 min readneeds fit together, and have seen secrets and job outputs. It covers two topics: sharing logic between workflows, and finding out why a run failed.3 min read