Skip to content

Commit 83886d4

Browse files
committed
fix: error not resulting in failure
1 parent dafc9f9 commit 83886d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29419,7 +29419,7 @@ const utils_1 = __nccwpck_require__(1314);
2941929419
}
2942029420
}
2942129421
catch (err) {
29422-
core.error(`${err}`);
29422+
core.setFailed(err);
2942329423
}
2942429424
});
2942529425
})();

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ import { fail } from "./utils";
3030
);
3131
}
3232
} catch (err) {
33-
core.error(`${err}`);
33+
core.setFailed(<string | Error>err);
3434
}
3535
})();

0 commit comments

Comments
 (0)