step (GitHub Actions)
One task inside a job, either a shell command under run or an action called with uses.
In more detail
Steps run strictly in order on the same machine and share its filesystem, so a file one step writes is there for the next. A step is a run script or a uses action, never both, and it can carry an id, a name, an if condition and env values.
Related terms
- run step — A workflow step whose run key holds shell commands for the runner to execute.
- uses — The workflow key that pulls a published action into a step by name, followed by an @ and a version.
- job (GitHub Actions) — A named group of steps in a workflow that runs on one runner of its own.
- step output — A named value a step writes as key=value to the file named by GITHUB_OUTPUT, which later steps read through the steps context.
Taught in
- What Is a Pipeline? — Continuous Integration & Continuous Delivery Pipelines
- Workflows, Jobs, Steps, and Actions — Continuous Integration & Continuous Delivery Pipelines