mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-23 03:45:50 -06:00
use dots2 spinner
This commit is contained in:
parent
44343c7652
commit
6f80f19f3b
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ proc getInProgressRun(
|
|||
start = now()
|
||||
timeoutDuration = initDuration(milliseconds = timeout)
|
||||
|
||||
withSpinner fmt"waiting for {workflow} workflow to start":
|
||||
with(Dots2, fmt"waiting for {workflow} workflow to start"):
|
||||
while (now() - start) < timeoutDuration:
|
||||
let response = getGhApi(fmt"https://api.github.com/repos/daylinmorgan/oizys/actions/workflows/{workflow}/runs")
|
||||
let runs = fromJson(response.body, ListGhWorkflowResponse).workflow_runs
|
||||
|
|
Loading…
Add table
Reference in a new issue