Skip php-darwin cache on Intel macOS

This commit is contained in:
Shivam Mathur
2026-09-01 10:36:34 +05:30
parent b8123f29e1
commit 9fe8278c96
+2 -1
View File
@@ -188,7 +188,8 @@ add_php() {
php_keg="php@$version$suffix" php_keg="php@$version$suffix"
php_formula="shivammathur/php/$php_keg" php_formula="shivammathur/php/$php_keg"
if [[ "$existing_version" = "false" || -n "$suffix" || "$action" = "upgrade" ]]; then if [[ "$existing_version" = "false" || -n "$suffix" || "$action" = "upgrade" ]]; then
if [ "${runner:?}" != "self-hosted" ] && [ "${use_package_cache:-true}" != "false" ] && setup_cached_versions; then if [ "${arch:?}" = "arm64" ] && [ "${runner:?}" != "self-hosted" ] && \
[ "${use_package_cache:-true}" != "false" ] && setup_cached_versions; then
return 0 return 0
fi fi
update_dependencies update_dependencies