diff --git a/.changeset/smooth-comics-slide.md b/.changeset/smooth-comics-slide.md new file mode 100644 index 0000000..80b4d06 --- /dev/null +++ b/.changeset/smooth-comics-slide.md @@ -0,0 +1,5 @@ +--- +'render-deploy': patch +--- + +Make sure we throw error to error out of render deploy in the event of an error diff --git a/dist/index.js b/dist/index.js index 5e91a11..e318783 100644 --- a/dist/index.js +++ b/dist/index.js @@ -25723,6 +25723,7 @@ await (0,_deploy_service_js__WEBPACK_IMPORTED_MODULE_1__/* .deployService */ .z) }) .catch((error) => { _actions_core__WEBPACK_IMPORTED_MODULE_0__.setFailed(error instanceof Error ? error.message : String(error)); + throw error; }); __webpack_async_result__(); diff --git a/src/index.ts b/src/index.ts index 54cae60..fc10a8f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,4 +32,5 @@ await deployService(inputs) }) .catch((error: unknown) => { core.setFailed(error instanceof Error ? error.message : String(error)); + throw error; });