mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-24 23:59:08 +07:00
Deprecate Ubuntu 16.04
This commit is contained in:
@ -51,6 +51,11 @@ export async function getScript(
|
||||
*/
|
||||
export async function run(): Promise<void> {
|
||||
try {
|
||||
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'
|
||||
);
|
||||
}
|
||||
const version: string = await utils.parseVersion(
|
||||
await utils.getInput('php-version', true)
|
||||
);
|
||||
|
Reference in New Issue
Block a user