mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-10-15 20:06:58 +00:00
Fix icu4c version for PHP 5.6 and PHP 7.0 on darwin
This commit is contained in:
1 file changed
+3
@@ -183,6 +183,9 @@ setup_php() {
|
||||
fi
|
||||
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
||||
brew tap shivammathur/homebrew-php
|
||||
if [ "$version" = "5.6" ] || [ "$version" = "7.0" ]; then
|
||||
brew install https://raw.githubusercontent.com/shivammathur/homebrew-php/master/Formula/icu4c.rb --force
|
||||
fi
|
||||
brew "$action" shivammathur/php/php@"$version"
|
||||
brew link --force --overwrite php@"$version"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user