diff --git a/dist/index.js b/dist/index.js index 041134c..3ff6035 100644 --- a/dist/index.js +++ b/dist/index.js @@ -33267,6 +33267,7 @@ async function run() { await uploadFiles(gitea_client, owner, repo, response.id, all_files) console.log(`🎉 Release ready at ${response.html_url}`); } catch (error) { + console.log(error); _actions_core__WEBPACK_IMPORTED_MODULE_2___default().setFailed(error.message); } } diff --git a/src/main.js b/src/main.js index c78064e..89e597f 100644 --- a/src/main.js +++ b/src/main.js @@ -41,6 +41,7 @@ async function run() { await uploadFiles(gitea_client, owner, repo, response.id, all_files) console.log(`🎉 Release ready at ${response.html_url}`); } catch (error) { + console.log(error); core.setFailed(error.message); } }