mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Update Ubuntu 16.04 warning in install.ts
This commit is contained in:
parent
c61b9256d1
commit
3b2ce6cae6
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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) {
|
||||
|
@ -53,7 +53,7 @@ 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'
|
||||
'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(
|
||||
|
Loading…
Reference in New Issue
Block a user