Skip to content

Commit 6d2f249

Browse files
authored
Merge pull request #189 from zchee/version-unstable
Support `unstable` version alias
2 parents fd56428 + 59c4d74 commit 6d2f249

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
description: 'Comma separated list of Tags to be applied to nodes. The OAuth client must have permission to apply these tags.'
2222
required: false
2323
version:
24-
description: 'Tailscale version to use. Specify `latest` to use the latest stable version.'
24+
description: 'Tailscale version to use. Specify `latest` to use the latest stable version, and `unstable` to use the latest development version.'
2525
required: true
2626
default: '1.82.0'
2727
sha256sum:
@@ -78,6 +78,8 @@ runs:
7878
VERSION=${{ inputs.version }}
7979
if [ "$VERSION" = "latest" ]; then
8080
RESOLVED_VERSION=$(curl -H user-agent:tailscale-github-action -s "https://pkgs.tailscale.com/stable/?mode=json" | jq -r .Version)
81+
elif [ "$VERSION" = "unstable" ]; then
82+
RESOLVED_VERSION=$(curl -H user-agent:tailscale-github-action -s "https://pkgs.tailscale.com/unstable/?mode=json" | jq -r .Version)
8183
else
8284
RESOLVED_VERSION=$VERSION
8385
fi

0 commit comments

Comments
 (0)