mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-10 02:11:07 +07:00
fix: more log
This commit is contained in:
parent
de0122b411
commit
8e3a904f48
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 New Issue
Block a user