mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-21 01:39:22 +00:00
Ensure curl calls follow redirects. (#86)
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
This commit is contained in:
parent
cc6818dd69
commit
bf5e14e8ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue