【发布时间】:2022-01-07 10:45:10
【问题描述】:
使用 gh 我可以看到我的运行完成,显示如下:
✓ 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
目前是否可以在作业运行时查看所有步骤的输出?实际上正是运行gh run view --log --job .... 显示的内容,但不是事后查看日志,而是在作业的生命周期内流式传输日志而无需访问 github UI。因此它将显示以下内容:
✓ 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
【问题讨论】:
-
这里有一个未解决的问题:github.com/cli/cli/issues/3484
-
@rethab 非常感谢。我想这回答了这个问题。如果可以并且在 StackOverflow 的标准范围内,您能否回答这个问题,因为这是不可能的,并且它已列在路线图上,以便我可以将其标记为已解决?非常感谢。
标签: github continuous-integration github-actions