github · GitHub Actions Docs
Actions Passing information between jobs - GitHub Docs
Teaches how to use the outputs keyword to pass data from one job to another within a GitHub Actions workflow using job dependencies.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Passing information between jobs - GitHub Docs
Teaches how to use the outputs keyword to pass data from one job to another within a GitHub Actions workflow using job dependencies.
When To Use
Use when you need to share computed values, status flags, or metadata from a completed job to subsequent jobs in a workflow pipeline.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-write-workflows-passing-information-between-jobs-github-workflow-guide.md | A workflow configuration demonstrating how to define and use job outputs to pass information between different jobs in GitHub Actions. | Questions about a workflow configuration demonstrating how to define and use job outputs to pass information between different jobs i... |
examples/actions-how-tos-write-workflows-passing-information-between-jobs-github-.text | A YAML workflow example demonstrating how to define job outputs and access them in subsequent jobs using the outputs keyword. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to define job outputs and access them in subsequent jobs using the outputs... |
examples/actions-how-tos-write-workflows-passing-information-between-jobs-github--2.text | A YAML workflow example demonstrating how to pass outputs from one job to another using the needs keyword. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to pass outputs from one job to another using the needs keyword. |
examples/actions-how-tos-write-workflows-passing-information-between-jobs-github--3.text | A YAML workflow example demonstrating how to access outputs from one job in a subsequent job using the needs context. | Exact payloads, commands, or snippets shown in A YAML workflow example demonstrating how to access outputs from one job in a subsequent job using the needs context. |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Write workflows / - Choose what workflows do / - Pass job outputs
- Main sections:
In this article,Defining and using job outputs,Next steps.
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/pass-job-outputs
