Skip to content

Bug while setting a step output parameter using $GITHUB_OUTPUT #2723

Description

@suiluj

Describe the bug

When trying to set a step output paramter the step fails.

To Reproduce

I just tried to use the example from the github actions docs:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

echo "SELECTED_COLOR=green" >> "$GITHUB_OUTPUT"

Expected behavior
working like described in the docs

Runner Version and Platform

2.296.3

OS of the machine running the runner? linux/selfhosted

What's not working?

Error: Process completed with exit code 1.  
line 1: : No such file or directory

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions