mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
[macOS] Add virtualbox to macOS-12 (#5594)
* Add virtualbox to macOS-12 * Fix Get_OSVersion function as isBigSur didn't work * Use proper comparison
This commit is contained in:
@@ -16,6 +16,12 @@ for package in $cask_packages; do
|
||||
brew install --cask $package
|
||||
done
|
||||
|
||||
# Execute AppleScript to change security preferences for virtualbox
|
||||
# System Preferences -> Security & Privacy -> General -> Unlock -> Allow -> Not now
|
||||
if is_Monterey; then
|
||||
osascript $HOME/utils/confirm-identified-developers.scpt $USER_PASSWORD
|
||||
fi
|
||||
|
||||
# Invoke bazel to download bazel version via bazelisk
|
||||
bazel
|
||||
|
||||
|
||||
Reference in New Issue
Block a user