Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-write-workflows-passing-information-between-jobs-github-workflow-guide.mdA 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-.textA 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.textA 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.textA 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

  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/pass-job-outputs