Skip to content

[GitHub Actions] Output from called reusable workflows via env context or GITHUB_ENV is not supported #25620

Closed
@iamazeem

Description

@iamazeem

Code of Conduct

What article on docs.github.com is affected?

Reusable Workflows
https://docs.github.com/en/actions/using-workflows/reusing-workflows

Reusable Workflows: Limitations
https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations

Reusable Workflows: Using outputs from a reusable workflow
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?

According to the Limitations:

Any environment variables set in an env context defined at the workflow level in the caller workflow are not propagated to the called workflow.

The opposite is also not supported but it's not listed under the Limitations section.

Using outputs from a reusable workflow also does not mention anything about env context or GITHUB_ENV as it's mainly focused on the output parameters.

Adding this (i.e. env context or GITHUB_ENV cannot be used to set env vars for output purposes) under the Limitations section would be helpful.

Thanks!

Additional information

No response

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 teamhelp wantedAnyone is welcome to open a pull request to fix this issuewaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions