From 3b2ce6cae64bceb25529e7db7584a066c8481d0e Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Tue, 13 Jul 2021 14:21:36 +0530 Subject: [PATCH] Update Ubuntu 16.04 warning in install.ts --- dist/index.js | 2 +- src/install.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0128adea..f77ac134 100644 --- a/dist/index.js +++ b/dist/index.js @@ -440,7 +440,7 @@ exports.getScript = getScript; async function run() { 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'); + 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'); } const version = await utils.parseVersion(await utils.getInput('php-version', true)); if (version) { diff --git a/src/install.ts b/src/install.ts index a994f9ba..7f8185ee 100644 --- a/src/install.ts +++ b/src/install.ts @@ -53,7 +53,7 @@ export async function run(): Promise { 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' + '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' ); } const version: string = await utils.parseVersion(