3 ms·
Small clarification, because I had the same misconception: $GITHUB_STEP_SUMMARY is just an env var containing the name of a file
by jffry 4y ago
Small clarification, because I had the same misconception: $GITHUB_STEP_SUMMARY is just an env var containing the name of a file
- simonw 4y agoYeah https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary https://docs.github.com/en/actions/using-workflows/workflow-... has some more details on this - it even suggests that if you want to delete the summary entirely you can do: rm $GITHUB_STEP_SUMMARY
- divbzero 4y agoThanks, it was fuzzy at first to me as well. The official description of $GITHUB_STEP_SUMMARY reveals a bit of the implementation details: > The path on the runner to the file that contains job summaries from workflow commands. This file is unique to the current step and changes for each step in a job. For example, /home/rob/runner/_layout/_work/_temp/_runner_file_commands/step_summary_1cb22d7f-5663-41a8-9ffc-13472605c76c. https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables https://docs.github.com/en/actions/learn-github-actions/envi...