mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-02 03:37:16 +07:00
Sunset support for Ubuntu 16.04
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -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) {
|
||||
|
Reference in New Issue
Block a user