Azure / cli

Automate your GitHub workflows using Azure CLI scripts
MIT License
124 stars 52 forks source link

Unable to use GITHUB_OUTPUT or GITHUB_STEP_SUMMARY #87

Closed tjcorr closed 1 year ago

tjcorr commented 1 year ago

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.