File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -93,19 +93,15 @@ jobs:
9393 - name : Checkout code
9494 uses : actions/checkout@v4
9595
96- # A temporary solution
97- - name : Install libxml2 >= 2.12 (PHP 8.1+ on linux only)
98- if : ${{ matrix.os == 'ubuntu-latest' && contains(fromJSON('["8.1", "8.2", "8.3"]'), matrix.php) }}
96+ # This is a temporary solution.
97+ # Once ubuntu-latest includes the latest libxml2 version, this step can be removed.
98+ - name : Install latest libxml2 on PHP 8.4 (linux only)
99+ if : ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.4' }}
99100 run : |
100- sudo apt-get update
101- sudo apt-get install -y wget build-essential
102- wget https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.9.tar.xz
103- tar -xf libxml2-2.12.9.tar.xz
104- cd libxml2-2.12.9
105- ./configure --prefix=/usr/local
106- make
107- sudo make install
108- sudo ldconfig
101+ export HOMEBREW_NO_ANALYTICS=1
102+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
103+ echo "/home/linuxbrew/.linuxbrew/bin" >> $GITHUB_PATH
104+ brew install libxml2
109105
110106 - name : Setup ini config
111107 id : set_ini
You can’t perform that action at this time.
0 commit comments