Improve PECL support

This commit is contained in:
Shivam Mathur
2020-11-27 14:55:30 +05:30
parent 5a40a5875d
commit 8dbd6b7684
5 changed files with 16 additions and 15 deletions

View File

@ -138,7 +138,6 @@ setup_php() {
scan_dir=$(php --ini | grep additional | sed -e "s|.*: s*||")
sudo mkdir -m 777 -p "$ext_dir" "$HOME/.composer"
semver=$(php -v | head -n 1 | cut -f 2 -d ' ')
if [[ ! "$version" =~ $old_versions ]]; then configure_pecl >/dev/null 2>&1; fi
sudo cp "$dist"/../src/configs/*.json "$RUNNER_TOOL_CACHE/"
add_log "$tick" "PHP" "$status PHP $semver"
}