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