[php-src] PHP-8.2: Fix brew action (#13659)

From: Date: Sun, 10 Mar 2024 14:55:13 +0000
Subject: [php-src] PHP-8.2: Fix brew action (#13659)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127691@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Committer: GitHub (web-flow) Pusher: shivammathur Date: 2024-03-10T20:11:24+05:30 Commit: https://github.com/php/php-src/commit/0e05f26be6cc818e76af987c52a65d61740fca53 Raw diff: https://github.com/php/php-src/commit/0e05f26be6cc818e76af987c52a65d61740fca53.diff Fix brew action (#13659) We patch brew to ensure it overwrites files while linking the dependencies Changed paths: M .github/actions/brew/action.yml Diff: diff --git a/.github/actions/brew/action.yml b/.github/actions/brew/action.yml index 51d37aa56d47..5868d3917b80 100644 --- a/.github/actions/brew/action.yml +++ b/.github/actions/brew/action.yml @@ -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 \

« previous php.cvs (#127691) next »