github · GitHub Actions Docs
Actions Using jobs in a workflow - GitHub Docs
Explains how to structure GitHub Actions workflows by defining jobs, managing their execution order, and configuring parallel or sequential job runs.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Using jobs in a workflow - GitHub Docs
Explains how to structure GitHub Actions workflows by defining jobs, managing their execution order, and configuring parallel or sequential job runs.
When To Use
Use when you need to design a workflow that executes multiple tasks in parallel or requires specific jobs to wait for others to complete before starting.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-write-workflows-using-jobs-in-a-workflow-github-docs-workflow-guide.md | A guide explaining how to define and configure multiple jobs within a GitHub Actions workflow. | Questions about a guide explaining how to define and configure multiple jobs within a GitHub Actions workflow. |
examples/actions-how-tos-write-workflows-using-jobs-in-a-workflow-github-docs-git.text | A YAML-formatted workflow configuration demonstrating how to define and structure multiple jobs within a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A YAML-formatted workflow configuration demonstrating how to define and structure multiple jobs within a GitHub Actio... |
examples/actions-how-tos-write-workflows-using-jobs-in-a-workflow-github-docs-git-2.text | A YAML-formatted workflow example demonstrating how to define multiple jobs and establish dependencies using the needs keyword. | Exact payloads, commands, or snippets shown in A YAML-formatted workflow example demonstrating how to define multiple jobs and establish dependencies using the need... |
examples/actions-how-tos-write-workflows-using-jobs-in-a-workflow-github-docs-git-3.text | A YAML-formatted workflow example demonstrating how to define multiple jobs, use the needs keyword for dependencies, and apply conditional logic with the always function. | Exact payloads, commands, or snippets shown in A YAML-formatted workflow example demonstrating how to define multiple jobs, use the needs keyword for dependencies,... |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Use jobs
- Main sections:
In this article,Prerequisites,Setting an ID for a job,Example: Creating jobs,Setting a name for a job.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-jobs
