Loading tutorials
on, jobs, and steps. You should also know that a job is a group of steps that runs on one runner, and that a step is a single command or action inside a job. You should have triggered a workflow3 min readon, jobs, and steps. You should know that a job is a group of steps that share one runner, and that a step is a single command or action. Here you add an if to a step so it runs only when you want it to.2 min readon, jobs, steps), know basic YAML, and have already added a simple if to a step. Here you learn how GitHub Actions reads the text after if:, when the ${{ }} wrapper is optional, and when it is required.2 min readon, jobs, steps) and know that if goes on a step or a job. It covers the data an if expression can read.2 min readon, jobs, steps) and that you have already added a basic if to a step. Here you learn how GitHub evaluates the expression inside if, and why a condition can pass when you expect it to fail.2 min readon, jobs, steps), the difference between a job and a step, and basic YAML. It also assumes you can read an if expression. Here you will use the github context to run a step only for a given event, branch or tag.2 min readon, jobs, steps), know the difference between a job and a step, and have used a basic if: on a step.2 min readon, jobs, steps), the difference between a job and a step, and basic YAML. You should also know how a push or pull request starts a workflow run.2 min readneeds makes one job wait for another. It also assumes you know that a job-level if can skip a whole job. Here you will see what happens to the jobs downstream of a skipped job.2 min readon, jobs, steps) and that you know how a step-level if works. The three functions here let a condition match part of a string instead of comparing the whole value.2 min readif: on a step. Here you will make one step decide whether a later step runs, either by writing an output or by reporting its own result.2 min readon, jobs and steps, and that you know basic YAML scalars. Most broken if conditions come from one of three places: YAML reads the line before GitHub does, string literals are quoted wrongly, or a string is treated as a boolean.2 min readgithub.event_name and github.ref work in a condition. It shows how to keep deploy and publish steps from running when they can't, or shouldn't, have access to secrets.2 min readstrategy.matrix creates one job per combination of values. It also assumes you can write a step-level if and read the github and runner contexts.2 min readon, jobs, steps) and know the difference between a job and a step. It also assumes you have seen if on both. Here you will learn a repeatable way to find out why a step ran when it should not have, or was skipped when it should have run.2 min readon, jobs and steps structure. It also assumes you know that if skips a step or a job after the workflow has started. Some of those conditions can be written as trigger filters instead. Filters decide whether the workflow starts a2 min read