xref: /PHP-8.3/.github/actions/brew/action.yml (revision e3de1a1a)
1name: brew
2runs:
3  using: composite
4  steps:
5    - shell: bash
6      run: |
7        set -x
8
9        # Patch brew to overwrite always
10        formula_installer="$(brew --repo)"/Library/Homebrew/formula_installer.rb
11        code=" keg.link\(verbose: verbose\?"
12        sudo sed -Ei '' "s/$code.*/$code, overwrite: true\)/" "$formula_installer"
13
14        brew install \
15          bison \
16          re2c
17        brew install \
18          bzip2 \
19          enchant \
20          libffi \
21          intltool \
22          icu4c \
23          libiconv \
24          t1lib \
25          libxml2 \
26          libjpeg \
27          libxslt
28