Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-running-variations-of-jobs-in-a-workflow-workflow-guide.mdA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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