使用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
uj5u.com熱心網友回復:
截至 22 年 1 月,這是不可能的,但 GitHub 上有一個未解決的問題:https : //github.com/cli/cli/issues/3484
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/409343.html
標籤:
上一篇:在AWSCDK中,應如何將CodeStarConnectionsSourceAction用作CodePipeline的輸入?
下一篇:Yii2使用GitHub操作部署
