fix distro version check logging

This commit is contained in:
Robin Appelman 2026-02-17 15:34:35 +01:00
commit 526e105a38
2 changed files with 10 additions and 2 deletions

View file

@ -181,9 +181,9 @@ function copy(obj) {
distroPhp.push(version)
availablePhp = version;
console.log(`Install candidates for PHP Version ${version.toFixed(1)} found`);
console.log(`Install candidates for PHP Version ${version} found`);
} else {
console.log(`No install candidates for PHP version ${version.toFixed(1)} found -> skipping`);
console.log(`No install candidates for PHP version ${version} found -> skipping`);
}
}
@ -256,6 +256,7 @@ function copy(obj) {
}));
} catch (error) {
console.error(error);
core.setFailed(error.message);
}
})()