mirror of
https://github.com/actions/cache.git
synced 2025-07-07 20:42:53 +00:00
Address review comments and update tests
This commit is contained in:
parent
af9067e3c7
commit
2637f06e5f
16 changed files with 219 additions and 56 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue