Repository navigation
ci: install PHP via setup-php instead of Homebrew - #490
Merged
Merged
Conversation
brew install php now builds from source on macos-14 and its post-install pear channel update fails when pear.php.net is unreachable, breaking the release workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
v6.1.8release run (run 37126583689) failed in the Install PHP step before reaching the build:macos-14, Homebrew has no PHP package ready to install, sobrew install phpcompiles it from source. That takes about 21 minutes.pear.php.netfailed, sobrew install phpexited 1.This PR replaces that step with
shivammathur/setup-php@v2(PHP 8.3,tools: none). It installs a prebuilt PHP in seconds and doesn't contact pear.php.net. PHP is only needed for thejson.phphelper used byrelease.sh.Testing
workflow_dispatch, so it won't run on this PR. To check it, trigger it manually after merging, or re-tag the release.🤖 Generated with Claude Code
https://claude.ai/code/session_01DVAtpWFds4ChBfFfuZWesT
Generated by Claude Code