Sunset support for Ubuntu 16.04

This commit is contained in:
Shivam Mathur
2021-08-02 23:10:43 +05:30
parent ca910e5511
commit 947009a717
9 changed files with 10 additions and 28 deletions

3
dist/index.js vendored
View File

@ -440,7 +440,8 @@ exports.getScript = getScript;
async function run() {
try {
if ((await utils.readEnv('ImageOS')) == 'ubuntu16') {
core.warning('setup-php will stop working on Ubuntu 16.04 from August 1, 2021. Please upgrade to Ubuntu 18.04 or Ubuntu 20.04 - https://setup-php.com/i/452');
core.setFailed('setup-php is not supported on Ubuntu 16.04. Please upgrade to Ubuntu 18.04 or Ubuntu 20.04 - https://setup-php.com/i/452');
return;
}
const version = await utils.parseVersion(await utils.getInput('php-version', true));
if (version) {