mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Fail builds on errors during the image generation (#1756)
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
#!/bin/bash -e -o pipefail
|
||||
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo Installing Ruby...
|
||||
if is_Less_BigSur; then
|
||||
# We can't install latest ruby 2.7 as a default version related with bug
|
||||
# https://github.com/fastlane/fastlane/issues/15397
|
||||
/usr/local/bin/brew install ruby@2.6
|
||||
ln -sf /usr/local/opt/ruby\@2.6 /usr/local/opt/ruby
|
||||
else
|
||||
brew install ruby
|
||||
fi
|
||||
|
||||
|
||||
brew install ruby
|
||||
|
||||
Reference in New Issue
Block a user