mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Update libs for PHP 8.0 on self-hosted runners
This commit is contained in:
parent
18041fdab5
commit
3bffbad95a
@ -40,7 +40,8 @@ pre_setup() {
|
||||
LC_ALL=C.UTF-8 sudo apt-add-repository ppa:ondrej/php -y && update_ppa
|
||||
fi
|
||||
if [ "$version" = "8.0" ]; then
|
||||
$apt_install libcurl4-gnutls-dev libtidy-dev libpng-dev libjpeg-dev libicu-dev libzip-dev
|
||||
IFS=' ' read -r -a libs <<< "$(echo "aspell curl4-gnutls enchant freetype6 icu jpeg png tidy webp xpm zip" | sed "s/[^ ]*/lib&-dev/g")"
|
||||
$apt_install "${libs[@]}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user