Show GitHub Action Job Summary while job is running #179260
-
Why are you starting this discussion?Question What GitHub Actions topic or product is this about?Misc Discussion DetailsHi, I understand that each Job has access to its own GITHUB_STEP_SUMMARY environment file and we can write to that. Is it possible to show/write/display to that Workflow Summary, for each individual Job summaries, something while the Job is still running and not at the end? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Unfortunately, no. You can’t make the workflow summary update while a job is still running. The That said, you can still update the job’s own summary progressively by writing to If you really need live updates visible during the run, you’d have to use a different channel, like posting comments on a PR, uploading artifacts, or logging progress to the console. Hope it helps! |
Beta Was this translation helpful? Give feedback.
Unfortunately, no. You can’t make the workflow summary update while a job is still running.
The
$GITHUB_STEP_SUMMARYfile only affects the job summary, and those updates only get aggregated into the overall workflow summary once the job finishes. So the workflow summary page won’t show anything from a job until that job has completed.That said, you can still update the job’s own summary progressively by writing to
$GITHUB_STEP_SUMMARYin multiple steps. Each step’s output will show up as soon as that step finishes, so people can see partial updates if they open the job view directly.If you really need live updates visible during the run, you’d have to use a different channel, like posti…