Address review comments and update tests

This commit is contained in:
Sampark Sharma
2023-01-05 09:29:13 +00:00
committed by GitHub
parent af9067e3c7
commit 2637f06e5f
16 changed files with 219 additions and 56 deletions

View File

@@ -56,7 +56,8 @@ export function getInputAsBool(
name: string,
options?: core.InputOptions
): boolean {
return core.getBooleanInput(name, options);
const result = core.getInput(name, options);
return result.toLowerCase() === "true";
}
export function isCacheFeatureAvailable(): boolean {