Improve pecl support

This commit is contained in:
Shivam Mathur
2020-12-17 12:13:39 +05:30
parent ce02569aea
commit b3cd6b4dab
4 changed files with 7 additions and 13 deletions

5
dist/index.js vendored
View File

@ -2577,10 +2577,7 @@ async function getScript(filename, version, os_version) {
const extension_csv = await utils.getInput('extensions', false);
const ini_values_csv = await utils.getInput('ini-values', false);
const coverage_driver = await utils.getInput('coverage', false);
let tools_csv = await utils.getInput('tools', false);
if (/.*-(beta|alpha|devel|snapshot|\d+\.\d+\.\d+).*/.test(extension_csv)) {
tools_csv = 'pecl, ' + tools_csv;
}
const tools_csv = await utils.getInput('tools', false);
let script = await utils.readScript(filename);
script += await tools.addTools(tools_csv, version, os_version);
if (extension_csv) {