Skip to content

Unable to use GITHUB_OUTPUT or GITHUB_STEP_SUMMARY #87

@tjcorr

Description

@tjcorr

Previously if you wanted to output data from this task you might use:

echo '::set-output name=key::value'

This functionality was recently deprecated per link. The new mechanism is to use environment files. However if you use this functionality currently you will get an error that it can't find the file:

/_temp/AZ_CLI_GITHUB_ACTION_1665589813118.sh: line 10: /home/runner/work/_temp/_runner_file_commands/set_output_93294b01-dcab-4b3d-979e-1411fcc565cf: No such file or directory

It looks like this is a result of how we are mapping in the temporary directory. Not all of the GITHUB environment variables are getting re-mapped to the different path.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions