mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-02 03:37:16 +07:00
Switch to setup-php.com short URLs in install.ts
This commit is contained in:
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -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) {
|
||||
|
Reference in New Issue
Block a user