mirror of
https://github.com/lupyuen/nuttx-release.git
synced 2025-01-13 07:38:29 +08:00
Estimate the GitHub Runner Hours for the day so far
This commit is contained in:
parent
43ff8301c1
commit
db50635bbc
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ function add_runner_hours {
|
|||
--jq '.[].databaseId'
|
||||
)
|
||||
|
||||
## Call GitHub API to get the Job Duration
|
||||
## https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#get-workflow-run-usage
|
||||
for run_id in $run_ids; do
|
||||
# echo run_id=$run_id
|
||||
local run_duration_ms=$(
|
||||
|
|
Loading…
Reference in a new issue