Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
Fix brew action (#13659)
We patch brew to ensure it overwrites files while linking the dependencies
  • Loading branch information
shivammathur committed Mar 10, 2024
2 parents d667e73 + 59e8c26 commit edbef3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/brew/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ runs:
- shell: bash
run: |
set -x
# Patch brew to overwrite always
formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
code=" keg.link\(verbose: verbose\?"
sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
brew install \
pkg-config \
autoconf \
Expand Down

0 comments on commit edbef3e

Please sign in to comment.