mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-25 01:48:04 +00:00
Merge pull request #131 from lovesegfault/curl-quiet
refactor(lib/install-nix): quiet down curl spam
This commit is contained in:
commit
106f85df37
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ echo "installer options: ${installer_options[*]}"
|
||||||
|
|
||||||
# There is --retry-on-errors, but only newer curl versions support that
|
# There is --retry-on-errors, but only newer curl versions support that
|
||||||
curl_retries=5
|
curl_retries=5
|
||||||
while ! curl -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}"
|
while ! curl -sS -o "$workdir/install" -v --fail -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}"
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
((curl_retries--))
|
((curl_retries--))
|
||||||
|
|
Loading…
Reference in a new issue