Using gh I'm able to watch my run to completion, which shows something like the following:
✓ My cool job · 1663894809
Triggered via push about 18 hours ago
JOBS
✓ Build, push and run cloud artifacts in 1m57s (ID 4739289825)
✓ Set up job
✓ Checkout
✓ my_custom_step
✓ Post Checkout
✓ Complete job
Is it as of now possible to also watch the output of all the steps while the job is running? Practically exactly what running gh run view --log --job .... shows, but instead of seeing the logs after the fact, having the logs being streamed during the job's lifetime without accessing the github UI. It would thus show the following:
✓ My cool job · 1663894809
Triggered via push about 18 hours ago
JOBS
✓ Build, push and run cloud artifacts in 1m57s (ID 4739289825)
✓ Set up job
... Long list of logs...
✓ Checkout
... Long list of logs...
✓ my_custom_step
... Long list of logs...
✓ Post Checkout
... Long list of logs...
✓ Complete job
CodePudding user response:
As of January '22, this is not possible, but there is an open issue on GitHub: https://github.com/cli/cli/issues/3484
