fix: more log

This commit is contained in:
Akkuman 2023-12-01 16:24:33 +08:00
parent de0122b411
commit 8e3a904f48
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -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);
}
}

View File

@ -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);
}
}