From c7fc043ee07dd665bc66af1496a498934ca512a5 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sun, 24 Aug 2025 01:13:42 +0900 Subject: [PATCH 1/2] Support `unstable` version alias Signed-off-by: Koichi Shiraishi --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 26bcf45..454c639 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: description: 'Comma separated list of Tags to be applied to nodes. The OAuth client must have permission to apply these tags.' required: false version: - description: 'Tailscale version to use. Specify `latest` to use the latest stable version.' + description: 'Tailscale version to use. Specify `latest` to use the latest stable version, and `unstable` to use the latest unstable version.' required: true default: '1.82.0' sha256sum: @@ -78,6 +78,8 @@ runs: VERSION=${{ inputs.version }} if [ "$VERSION" = "latest" ]; then RESOLVED_VERSION=$(curl -H user-agent:tailscale-github-action -s "https://pkgs.tailscale.com/stable/?mode=json" | jq -r .Version) + elif [ "$VERSION" = "unstable" ]; then + RESOLVED_VERSION=$(curl -H user-agent:tailscale-github-action -s "https://pkgs.tailscale.com/unstable/?mode=json" | jq -r .Version) else RESOLVED_VERSION=$VERSION fi From 59c4d745754d29e42a50a93d250c8a452cda5c80 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sun, 24 Aug 2025 01:30:24 +0900 Subject: [PATCH 2/2] Fix inputs.version.description Signed-off-by: Koichi Shiraishi --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 454c639..31ae3bd 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ inputs: description: 'Comma separated list of Tags to be applied to nodes. The OAuth client must have permission to apply these tags.' required: false version: - description: 'Tailscale version to use. Specify `latest` to use the latest stable version, and `unstable` to use the latest unstable version.' + description: 'Tailscale version to use. Specify `latest` to use the latest stable version, and `unstable` to use the latest development version.' required: true default: '1.82.0' sha256sum: