Skip to content

Commit

Permalink
Ensure curl calls follow redirects. (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
  • Loading branch information
creachadair authored Aug 25, 2023
1 parent cc6818d commit bf5e14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf5e14e

Please # to comment.