mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
Update CMake to 3.17.0 on all environments
This commit is contained in:
@@ -12,7 +12,7 @@ echo "Checking to see if the installer script has already been run"
|
|||||||
if command -v cmake; then
|
if command -v cmake; then
|
||||||
echo "Example variable already set to $EXAMPLE_VAR"
|
echo "Example variable already set to $EXAMPLE_VAR"
|
||||||
else
|
else
|
||||||
curl -sL https://cmake.org/files/v3.16/cmake-3.16.2-Linux-x86_64.sh -o cmakeinstall.sh \
|
curl -sL https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.sh -o cmakeinstall.sh \
|
||||||
&& chmod +x cmakeinstall.sh \
|
&& chmod +x cmakeinstall.sh \
|
||||||
&& ./cmakeinstall.sh --prefix=/usr/local --exclude-subdir \
|
&& ./cmakeinstall.sh --prefix=/usr/local --exclude-subdir \
|
||||||
&& rm cmakeinstall.sh
|
&& rm cmakeinstall.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user