Skip to content

Commit 609cc9b

Browse files
committed
simply re-throw errors up to main
1 parent 8ed7d47 commit 609cc9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/checks.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { setFailed } from "@actions/core";
21
import { exec } from "@actions/exec";
32

43
/**
@@ -11,6 +10,6 @@ export async function dependencyChecks(): Promise<void> {
1110
await exec("git --version");
1211
await exec("dotnet --info");
1312
} catch (error) {
14-
setFailed(`Action failed with error: "${(error as Error).message}"`);
13+
throw error;
1514
}
1615
}

0 commit comments

Comments
 (0)