[php-src] master: Merge branch 'PHP-8.3'
| From: | Shivam Mathur | Date: | Sun, 10 Mar 2024 15:09:03 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.3' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-127693@lists.php.net to get a copy of this message | ||
Author: Shivam Mathur (shivammathur)
Date: 2024-03-10T20:23:15+05:30
Commit: https://github.com/php/php-src/commit/edbef3e4acd257ae8bd5a0d11bb5e9c3ec468508
Raw diff: https://github.com/php/php-src/commit/edbef3e4acd257ae8bd5a0d11bb5e9c3ec468508.diff
Merge branch 'PHP-8.3'
* PHP-8.3:
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 567929d0306d..a6869db137dc 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 \