mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 03:47:40 +08:00
* Update azure-cli installation * Update curl installation * Update git-lfs installation * Add utils * Update gnupg installation * Add brew_install function * Revert jq installation * Add condition for the aws-sam-cli * Add return to function, revert aws-sam-cli changes, rename brew_install function * Fix typo Co-authored-by: MaksimZhukov <v-mazhuk@microsoft.com>
32 lines
707 B
Bash
Executable File
32 lines
707 B
Bash
Executable File
#!/bin/bash -e -o pipefail
|
|
|
|
source ~/utils/utils.sh
|
|
|
|
echo Updating RubyGems...
|
|
gem update --system
|
|
|
|
echo Installing xcode-install utility...
|
|
gem install xcode-install --force
|
|
|
|
echo Installing CocoaPods...
|
|
gem install cocoapods
|
|
|
|
if is_Less_BigSur; then
|
|
# fix nomad-cli installation
|
|
if is_HighSierra; then
|
|
brew_smart_install "libxml2"
|
|
gem install nokogiri -v 1.6.8.1 -- --use-system-libraries --with-xml2-include=$(brew --prefix libxml2)/include/libxml2
|
|
fi
|
|
|
|
echo Installing nomad-cli...
|
|
gem install nomad-cli
|
|
fi
|
|
|
|
echo Installing xcpretty...
|
|
gem install xcpretty
|
|
|
|
echo Installing bundler...
|
|
gem install bundler --force
|
|
|
|
echo Installing fastlane tools...
|
|
gem install fastlane |