1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-05 17:49:54 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 219 additions and 56 deletions

View file

@ -38646,7 +38646,8 @@ function getInputAsInt(name, options) {
}
exports.getInputAsInt = getInputAsInt;
function getInputAsBool(name, options) {
return core.getBooleanInput(name, options);
const result = core.getInput(name, options);
return result.toLowerCase() === "true";
}
exports.getInputAsBool = getInputAsBool;
function isCacheFeatureAvailable() {