mirror of
https://github.com/actions/cache.git
synced 2025-07-12 19:41:49 +02:00
Address review comments and update tests
This commit is contained in:
3
dist/restore-only/index.js
vendored
3
dist/restore-only/index.js
vendored
@ -10118,7 +10118,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() {
|
||||
|
3
dist/restore/index.js
vendored
3
dist/restore/index.js
vendored
@ -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() {
|
||||
|
3
dist/save-only/index.js
vendored
3
dist/save-only/index.js
vendored
@ -38697,7 +38697,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() {
|
||||
|
3
dist/save/index.js
vendored
3
dist/save/index.js
vendored
@ -38641,7 +38641,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() {
|
||||
|
Reference in New Issue
Block a user