mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-25 08:09:08 +07:00
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -1298,7 +1298,7 @@ async function resolveVersion() {
|
||||
core.info(`Resolved ${versionFile} as ${version}`);
|
||||
}
|
||||
if (!version) {
|
||||
throw new Error("Neither 'php-version' nor 'php-version-file' inputs were supplied, and could not find '.php-version' file.");
|
||||
version = 'latest';
|
||||
}
|
||||
return version;
|
||||
}
|
||||
|
Reference in New Issue
Block a user