pub fn exit_code() -> ExitCodeExpand description
The process exit code to return from main: ExitCode::FAILURE if set_failed was called, otherwise ExitCode::SUCCESS.
This is the faithful analogue of @actions/core’s deferred process.exitCode.
§Examples
use std::process::ExitCode;
fn main() -> ExitCode {
// ... action body; call `set_failed` on any recoverable failure ...
actions_rs::log::exit_code()
}