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
2ece57d43d
commit
5bca117b12
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ date=$(date -u +'%Y-%m-%d')
|
|||
hours=$(( 1+$(date -u +'%H') ))
|
||||
|
||||
## Set the GitHub Token: export GITHUB_TOKEN=...
|
||||
## Any Token with Read-Access to NuttX Repo will do:
|
||||
## "public_repo" (Access public repositories)
|
||||
. $HOME/github-token.sh
|
||||
|
||||
## Accumulate the Job Duration and Extrapolate the Runner Hours
|
||||
|
|
Loading…
Reference in a new issue