Skip to content

Commit ae74a36

Browse files
committed
fix: update downgrade_cmake script to manually install CMake 3.31.9 for macOS
1 parent 44ff9d9 commit ae74a36

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

scripts/downgrade_cmake.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ PLATFORM="${GHA_OS_NAME}"
55

66
if [[ "$PLATFORM" == "macos" ]]; then
77
brew uninstall cmake
8-
brew install cmake@3.31.9
9-
brew link --force --overwrite cmake@3.31.9
8+
wget https://github.com/Kitware/CMake/releases/download/v3.31.9/cmake-3.31.9-macos-universal.tar.gz
9+
10+
tar -xzf cmake-3.31.9-macos-universal.tar.gz
11+
12+
sudo mv cmake-3.31.9-macos-universal /usr/local/cmake-3.31.9
13+
echo "/usr/local/cmake-3.31.9/CMake.app/Contents/bin" >> $GITHUB_PATH
1014
fi

0 commit comments

Comments
 (0)