Outputs (Job) - CI/CD用語集の定義
Job の outputs は、ある job から、それに依存する別の job へ値を渡します。
Job の outputs は、job が outputs: の下で宣言し $GITHUB_OUTPUT を介して設定する値で、下流の job が needs.<job>.outputs.<name> コンテキストで読み取ります。
step が $GITHUB_OUTPUT のファイルに name=value を書き込み、job がその step の output を job の output にマッピングし、依存 job が(needs 経由で)それを消費することで、job 間のデータフローを実現します。
関連ガイド
needs (Job Dependency) - CI/CD Glossary Definitionneeds (Job Dependency): needs is a key that makes one job wait for one or more other jobs to complete success…
Context Expression - CI/CD Glossary DefinitionContext Expression: A context expression is a `${{ ... }}` template in a workflow that reads context data (li…
Step Summary - CI/CD Glossary DefinitionStep Summary: A step summary is Markdown written to the `$GITHUB_STEP_SUMMARY` file during a job, which GitHu…