mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[Ubuntu] install libpcre2-8-0 for PHP compat (#4551)
This commit is contained in:
@@ -13,6 +13,12 @@ source $HELPER_SCRIPTS/install.sh
|
||||
apt-add-repository ppa:ondrej/php -y
|
||||
apt-get update
|
||||
|
||||
# install specific version of libpcre2 otherwise latest ppa-hosted php fails
|
||||
# https://github.com/oerdnj/deb.sury.org/issues/1682
|
||||
if isUbuntu20 ; then
|
||||
apt-get install -y libpcre2-8-0
|
||||
fi
|
||||
|
||||
# Install PHP
|
||||
php_versions=$(get_toolset_value '.php.versions[]')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user