Skip to content

Commit

Permalink
feat!: setFailed will exit
Browse files Browse the repository at this point in the history
  • Loading branch information
CaiJingLong committed May 22, 2023
1 parent 3b424ee commit 1f9d8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/github_action_core/lib/src/core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ void exportVariable(String name, dynamic val) {

void setFailed(dynamic message) {
exitCode = ExitCode.failure;

error(message);
exit(exitCode);
}

void debug(String message) {
Expand Down

0 comments on commit 1f9d8a4

Please sign in to comment.