diff --git a/dist/index.js b/dist/index.js index f70a6f6..163c4b4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29419,7 +29419,7 @@ const utils_1 = __nccwpck_require__(1314); } } catch (err) { - core.error(`${err}`); + core.setFailed(err); } }); })(); diff --git a/src/index.ts b/src/index.ts index 7e81e60..86839f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,6 +30,6 @@ import { fail } from "./utils"; ); } } catch (err) { - core.error(`${err}`); + core.setFailed(err); } })();