mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-07-05 03:57:14 +07:00
Vendored
+1
-1
@@ -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