mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-09-08 05:44:07 +07:00
Deprecate Ubuntu 16.04
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -444,6 +444,9 @@ async function run() {
|
||||
core.setFailed('PHP 8.1 is not supported on setup-php v1.\nPlease upgrade to v2 - https://setup-php.com/w/Switch-to-v2');
|
||||
return;
|
||||
}
|
||||
if ((await utils.readEnv('ImageOS')) == 'ubuntu16') {
|
||||
core.warning('Ubuntu 16.04 is deprecated.\nPlease upgrade to Ubuntu 18.04 or Ubuntu 20.04 - https://setup-php.com/i/452');
|
||||
}
|
||||
if (version) {
|
||||
const os_version = process.platform;
|
||||
let script_path = '';
|
||||
|
Reference in New Issue
Block a user