mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Add devtools on self-hosted workflows
This commit is contained in:
parent
d74064b67a
commit
c5e4d55c3b
@ -83,7 +83,7 @@ patch_pdo_oci_config() {
|
|||||||
add_dependencies() {
|
add_dependencies() {
|
||||||
if [ "$os" = 'Linux' ]; then
|
if [ "$os" = 'Linux' ]; then
|
||||||
if [ "${runner:?}" = "self-hosted" ]; then
|
if [ "${runner:?}" = "self-hosted" ]; then
|
||||||
${apt_install:?} --no-upgrade --no-install-recommends autoconf automake libaio-dev gcc g++
|
${apt_install:?} --no-upgrade --no-install-recommends libaio-dev
|
||||||
fi
|
fi
|
||||||
! [[ ${version:?} =~ $nightly_versions ]] && add_devtools phpize
|
! [[ ${version:?} =~ $nightly_versions ]] && add_devtools phpize
|
||||||
fi
|
fi
|
||||||
|
@ -3,7 +3,7 @@ self_hosted_helper() {
|
|||||||
if ! command -v apt-fast >/dev/null; then
|
if ! command -v apt-fast >/dev/null; then
|
||||||
sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast
|
sudo ln -sf /usr/bin/apt-get /usr/bin/apt-fast
|
||||||
fi
|
fi
|
||||||
install_packages curl make software-properties-common unzip
|
install_packages curl make software-properties-common unzip autoconf automake gcc g++
|
||||||
add_ppa
|
add_ppa
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user