Skip to content

Commit bf5e14e

Browse files
authored
Ensure curl calls follow redirects. (#86)
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
1 parent cc6818d commit bf5e14e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
else
3030
URL="https://pkgs.tailscale.com/unstable/tailscale_${VERSION}_amd64.tgz"
3131
fi
32-
curl $URL -o tailscale.tgz
32+
curl -H user-agent:tailscale-github-action-v1 -L "$URL" -o tailscale.tgz
3333
tar -C ${HOME} -xzf tailscale.tgz
3434
rm tailscale.tgz
3535
TSPATH=${HOME}/tailscale_${VERSION}_amd64

0 commit comments

Comments
 (0)