mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-09-05 04:30:48 +07:00
Drop Intel macOS support
This commit is contained in:
@@ -188,7 +188,7 @@ add_php() {
|
||||
php_keg="php@$version$suffix"
|
||||
php_formula="shivammathur/php/$php_keg"
|
||||
if [[ "$existing_version" = "false" || -n "$suffix" || "$action" = "upgrade" ]]; then
|
||||
if [ "${arch:?}" = "arm64" ] && [ "${runner:?}" != "self-hosted" ] && \
|
||||
if [ "$(uname -m)" = "arm64" ] && [ "${runner:?}" != "self-hosted" ] && \
|
||||
[ "${use_package_cache:-true}" != "false" ] && setup_cached_versions; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user