From 3e9fe4d0a48cad6ab38b1aa066cb4046ff612511 Mon Sep 17 00:00:00 2001 From: Sasi Sriram Date: Mon, 17 Nov 2025 11:01:20 +0530 Subject: [PATCH] update outdated reusable workflow description to reflect output support Updates outdated documentation stating reusable workflows cannot pass values to later steps or jobs. GitHub Actions now supports reusable workflow outputs, so the sentence has been updated for accuracy. --- .../workflows-and-actions/reusing-workflow-configurations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md b/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md index 11832419a1cc..faddf60bdb5e 100644 --- a/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md +++ b/content/actions/concepts/workflows-and-actions/reusing-workflow-configurations.md @@ -44,7 +44,7 @@ Let's compare some aspects of each solution: * **Workflow jobs** - Composite actions contain a series of steps that are run as a single step within the caller workflow. Unlike reusable workflows, they cannot contain jobs. * **Logging** - When a composite action runs, the log will show just the step in the caller workflow that ran the composite action, not the individual steps within the composite action. With reusable workflows, every job and step is logged separately. * **Specifying runners** - Reusable workflows contain one or more jobs. As with all workflow jobs, the jobs in a reusable workflow specify the type of machine on which the job will run. Therefore, if the steps must be run on a type of machine that might be different from the machine chosen for the calling workflow job, then you should use a reusable workflow, not a composite action. -* **Passing output to steps** - A composite action is run as a step within a workflow job, and you can have multiple steps before or after the step that runs the composite action. Reusable workflows are called directly within a job, and not from within a job step. You can't add steps to a job after calling a reusable workflow, so you can't use `GITHUB_ENV` to pass values to subsequent job steps in the caller workflow. +* **Passing output to steps** - A composite action is run as a step within a workflow job, and you can have multiple steps before or after the step that runs the composite action. Reusable workflows are called directly within a job, and not from within a job step. You can't add steps to a job after calling a reusable workflow, but reusable workflows now support outputs that can be referenced in subsequent jobs in the caller workflow. ### Key differences between reusable workflows and composite actions