Skip to content

Lack of clarity re: reusable workflow outputs #32543

@APCBoston

Description

@APCBoston

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-outputs-from-a-reusable-workflow

What part(s) of the article would you like to see updated?

The existing text is not clear that the workflow level outputs: may be mapped to job-level, but not step-level outputs. The example workflow maps step-level outputs to job-level outputs, then to workflow-level outputs, but the text does not explain that this is needed and that attempting to map workflow-level outputs directly to step-level outputs won't work. Attempts to use step-level outputs do not generate an error but pass an empty output to the caller, compounding the confusion.

Additional information

A proposed clarification will follow momentarily in the form of a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions