setFailed function
Sets the action status to failed.
When the action exits it will be with an exit code of 1
Implementation
void setFailed({required String message}) {
exitCode = ExitCode.failure;
error(message: message);
}
Sets the action status to failed.
When the action exits it will be with an exit code of 1
void setFailed({required String message}) {
exitCode = ExitCode.failure;
error(message: message);
}