diff --git a/dist/index.js b/dist/index.js index 15b4ad5b..d85eeee9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -438,10 +438,10 @@ async function build(filename, version, os_version) { exports.build = build; async function run() { try { - core.warning('setup-php v1 is deprecated.\nPlease upgrade to v2 - https://github.com/shivammathur/setup-php/wiki/Switch-to-v2'); + core.warning('setup-php v1 is deprecated.\nPlease upgrade to v2 - https://setup-php.com/w/Switch-to-v2'); const version = await utils.parseVersion(await utils.getInput('php-version', true)); if (version == '8.1') { - core.setFailed('PHP 8.1 is not supported on setup-php v1.\nPlease upgrade to v2 - https://github.com/shivammathur/setup-php/wiki/Switch-to-v2'); + 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 (version) { diff --git a/src/install.ts b/src/install.ts index 9b7aa1ee..29b8f38f 100644 --- a/src/install.ts +++ b/src/install.ts @@ -56,14 +56,14 @@ export async function build( export async function run(): Promise { try { core.warning( - 'setup-php v1 is deprecated.\nPlease upgrade to v2 - https://github.com/shivammathur/setup-php/wiki/Switch-to-v2' + 'setup-php v1 is deprecated.\nPlease upgrade to v2 - https://setup-php.com/w/Switch-to-v2' ); const version: string = await utils.parseVersion( await utils.getInput('php-version', true) ); if (version == '8.1') { core.setFailed( - 'PHP 8.1 is not supported on setup-php v1.\nPlease upgrade to v2 - https://github.com/shivammathur/setup-php/wiki/Switch-to-v2' + 'PHP 8.1 is not supported on setup-php v1.\nPlease upgrade to v2 - https://setup-php.com/w/Switch-to-v2' ); return; }