pub fn is_debug() -> bool
Expand description
Returns if it’s running on a debug runner.
If the RUNNER_DEBUG
variable is not defined, it’ll always return true
use actions_github::logger::is_debug;
assert!(is_debug());
std::env::set_var("RUNNER_DEBUG", "0");
assert!(!is_debug());