mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 00:06:57 +00:00
[Ubuntu] Set flags for curl (#7993)
This commit is contained in:
committed by
GitHub
parent
3c7978b116
commit
7e863227d7
@@ -13,7 +13,7 @@ if command -v cmake; then
|
||||
echo "cmake is already installed"
|
||||
else
|
||||
downloadUrl=$(get_github_package_download_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")")
|
||||
curl -sL ${downloadUrl} -o cmakeinstall.sh \
|
||||
curl -fsSL ${downloadUrl} -o cmakeinstall.sh \
|
||||
&& chmod +x cmakeinstall.sh \
|
||||
&& ./cmakeinstall.sh --prefix=/usr/local --exclude-subdir \
|
||||
&& rm cmakeinstall.sh
|
||||
|
||||
Reference in New Issue
Block a user