mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-22 01:59:37 +01:00
fix: more log
This commit is contained in:
parent
de0122b411
commit
8e3a904f48
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue