From e3a95720ea61310d844904685c47748a8c64c29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Fri, 21 Apr 2023 10:38:02 +0200 Subject: [PATCH] Timeout to make sure all runners are down --- hetzner/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hetzner/action.yml b/hetzner/action.yml index 4a91e99..673328e 100644 --- a/hetzner/action.yml +++ b/hetzner/action.yml @@ -117,6 +117,9 @@ runs: shell: bash run: | + # make sure all are down + sleep 60 + RUNNERS=$(gh api \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ @@ -129,4 +132,4 @@ runs: -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/armbian/os/actions/runners/${id} - done <<< $RUNNERS \ No newline at end of file + done <<< $RUNNERS