pub fn bool_input(name: &str) -> Result<bool>Expand description
Read a boolean input using the strict YAML 1.2 core schema
(true|True|TRUE|false|False|FALSE).
§Errors
Error::InvalidBool for any other value, including absent/empty (matching @actions/core’s getBooleanInput).
§Examples
// `with: { verbose: true }` -> INPUT_VERBOSE=true
let verbose = actions_rs::input::bool_input("verbose").unwrap_or(false);
if verbose {
actions_rs::log::info("verbose mode");
}