* Do not uninstall openssl@1.1 to prevent various warnings.
* Remove only openssl include directory. /opt/homebrew/include/openssl
directory is present in macos-14 runner only.
* Add quiet option with brew install command to suppress some warnings as following.
brotli 1.1.0 is already installed and up-to-date. To reinstall 1.1.0, run: brew reinstall brotli
cmake 3.29.3 is already installed and up-to-date. To reinstall 3.29.3, run: brew reinstall cmake
etc.
* Change install prefix to HOME/android-tools because cmake
can not install in /usr/local directory in macos-14. The
error is as following.
CMake Error at completions/bash/cmake_install.cmake:49 (file):
file cannot create directory: /usr/local/share/bash-completion/completions.
Maybe need administrative privileges.