diff --git a/.ci/install-yq.sh b/.ci/install-yq.sh index 794cbd726b..6ef58b368b 100755 --- a/.ci/install-yq.sh +++ b/.ci/install-yq.sh @@ -59,7 +59,8 @@ function install_yq() { local yq_version=2.3.0 local yq_url="https://${yq_pkg}/releases/download/${yq_version}/yq_${goos}_${goarch}" - curl -o "${yq_path}" -LSs ${yq_url} + curl -o "${yq_path}" -LSsf ${yq_url} + [ $? -ne 0 ] && die "Download ${yq_url} failed" chmod +x ${yq_path} if ! command -v "${yq_path}" >/dev/null; then