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) await uploadFiles(gitea_client, owner, repo, response.id, all_files)
console.log(`🎉 Release ready at ${response.html_url}`); console.log(`🎉 Release ready at ${response.html_url}`);
} catch (error) { } catch (error) {
console.log(error);
_actions_core__WEBPACK_IMPORTED_MODULE_2___default().setFailed(error.message); _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) await uploadFiles(gitea_client, owner, repo, response.id, all_files)
console.log(`🎉 Release ready at ${response.html_url}`); console.log(`🎉 Release ready at ${response.html_url}`);
} catch (error) { } catch (error) {
console.log(error);
core.setFailed(error.message); core.setFailed(error.message);
} }
} }