From 1f9d8a4be13820fc3e7c96576689e772a31e8a17 Mon Sep 17 00:00:00 2001 From: CaiJingLong Date: Mon, 22 May 2023 17:01:51 +0800 Subject: [PATCH] feat!: setFailed will exit --- packages/github_action_core/lib/src/core.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/github_action_core/lib/src/core.dart b/packages/github_action_core/lib/src/core.dart index 8f93bbe..4b0cfb5 100644 --- a/packages/github_action_core/lib/src/core.dart +++ b/packages/github_action_core/lib/src/core.dart @@ -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) {