From d1256d457746f421e7cd4c5e5855a6bce058eb24 Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Fri, 19 Nov 2021 06:38:05 -0800 Subject: [PATCH] Update to 1.18, remove loop In release 1.16 and later, "tailscale up" will block until it can connect to tailscaled and bring the link up. There is not a need to loop any more. --- action.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index 383e309..9a3927e 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ inputs: version: description: 'Tailscale version to use.' required: true - default: '1.14.0' + default: '1.18.0' runs: using: 'composite' steps: @@ -41,7 +41,4 @@ runs: run: | sudo tailscaled 2>~/tailscaled.log & HOSTNAME="github-$(cat /etc/hostname)" - until sudo tailscale up --authkey ${TAILSCALE_AUTHKEY} --hostname=${HOSTNAME} --accept-routes - do - sleep 0.5 - done + sudo tailscale up --authkey ${TAILSCALE_AUTHKEY} --hostname=${HOSTNAME} --accept-routes