mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
[Windows,Ubuntu] Unpin the cmake version (#12953)
This commit is contained in:
committed by
GitHub
parent
6f04fd4a75
commit
2aaadf504b
@@ -14,11 +14,11 @@ if command -v cmake; then
|
||||
echo "cmake is already installed"
|
||||
else
|
||||
# Download script to install CMake
|
||||
download_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")" "3.31.6")
|
||||
download_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")" "latest")
|
||||
curl -fsSL "${download_url}" -o cmakeinstall.sh
|
||||
|
||||
# Supply chain security - CMake
|
||||
hash_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"SHA-256.txt\")" "3.31.6")
|
||||
hash_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"SHA-256.txt\")" "latest")
|
||||
external_hash=$(get_checksum_from_url "$hash_url" "linux-x86_64.sh" "SHA256")
|
||||
use_checksum_comparison "cmakeinstall.sh" "$external_hash"
|
||||
|
||||
|
||||
@@ -402,7 +402,6 @@
|
||||
},
|
||||
{
|
||||
"name": "cmake.install",
|
||||
"version": "3.31.6",
|
||||
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
|
||||
},
|
||||
{ "name": "imagemagick" },
|
||||
|
||||
@@ -326,7 +326,6 @@
|
||||
},
|
||||
{
|
||||
"name": "cmake.install",
|
||||
"version": "3.31.6",
|
||||
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
|
||||
},
|
||||
{ "name": "imagemagick" },
|
||||
|
||||
@@ -289,7 +289,6 @@
|
||||
},
|
||||
{
|
||||
"name": "cmake.install",
|
||||
"version": "3.31.6",
|
||||
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user