mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix php 8 on macos
This commit is contained in:
parent
c52ce057af
commit
847ea65468
@ -217,7 +217,7 @@ setup_php() {
|
|||||||
update_dependencies
|
update_dependencies
|
||||||
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
||||||
brew tap --shallow shivammathur/homebrew-php
|
brew tap --shallow shivammathur/homebrew-php
|
||||||
brew install shivammathur/php/php@"$version"
|
brew upgrade shivammathur/php/php@"$version" 2>/dev/null || brew install shivammathur/php/php@"$version"
|
||||||
brew link --force --overwrite php@"$version"
|
brew link --force --overwrite php@"$version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user