Function actions_github::logger::is_debug

source ·
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;
assert!(logger::is_debug());