Ensure curl calls follow redirects. (#86)

Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
This commit is contained in:
M. J. Fromberger 2023-08-25 16:49:26 -07:00 committed by GitHub
parent cc6818dd69
commit bf5e14e8ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ runs:
else
URL="https://pkgs.tailscale.com/unstable/tailscale_${VERSION}_amd64.tgz"
fi
curl $URL -o tailscale.tgz
curl -H user-agent:tailscale-github-action-v1 -L "$URL" -o tailscale.tgz
tar -C ${HOME} -xzf tailscale.tgz
rm tailscale.tgz
TSPATH=${HOME}/tailscale_${VERSION}_amd64