github · GitHub Actions Docs
Actions Running variations of jobs in a workflow - GitHub Docs
Teaches how to implement job variations within a GitHub Actions workflow using strategies such as matrix builds, conditional execution, and job dependencies.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Running variations of jobs in a workflow - GitHub Docs
Teaches how to implement job variations within a GitHub Actions workflow using strategies such as matrix builds, conditional execution, and job dependencies.
When To Use
Use when you need to run the same job across multiple operating systems, software versions, or specific conditional environments within a single workflow run.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-workflow-guide.md | A guide explaining how to use matrix strategies and contexts to run multiple variations of jobs within a GitHub Actions workflow. | Questions about a guide explaining how to use matrix strategies and contexts to run multiple variations of jobs within a GitHub Actio... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow.text | A YAML workflow configuration demonstrating how to use a matrix strategy to run job variations across different operating systems and versions. | Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to use a matrix strategy to run job variations across different opera... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-2.text | A YAML-formatted example demonstrating how to use conditional job execution based on specific event types and client payloads in a GitHub Actions workflow. | Exact payloads, commands, or snippets shown in A YAML-formatted example demonstrating how to use conditional job execution based on specific event types and client... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-3.text | A GitHub Actions workflow YAML example using a repository_dispatch event to trigger a job with a dynamic matrix strategy based on client payload versions. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML example using a repositorydispatch event to trigger a job with a dynamic matrix strate... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-4.text | A YAML workflow configuration demonstrating the use of the strategy matrix with the include keyword to add specific job variations. | Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating the use of the strategy matrix with the include keyword to add specific j... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-5.text | A YAML workflow configuration demonstrating the use of the strategy matrix and exclude properties to run job variations. | Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating the use of the strategy matrix and exclude properties to run job variations. |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-6.text | A YAML workflow example demonstrating how to use a matrix strategy to run job variations based on outputs from a previous job. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use a matrix strategy to run job variations based on outputs from a prev... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-7.text | A YAML workflow configuration demonstrating how to use matrix strategies with include and continue-on-error properties to run job variations. | Exact payloads, commands, or snippets shown in A YAML workflow configuration demonstrating how to use matrix strategies with include and continue-on-error propertie... |
examples/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-8.text | A YAML workflow example demonstrating how to use the matrix strategy with max-parallel and multiple dimensions to run job variations. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to use the matrix strategy with max-parallel and multiple dimensions to run... |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Run job variations
- Main sections:
In this article,About matrix strategies,Adding a matrix strategy to your workflow job,Using contexts to create matrices,Expanding or adding matrix configurations.
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/run-job-variations
