Fix showing error details in the dev release action
This commit is contained in:
parent
0328ee571b
commit
6bab2e750b
1 changed files with 2 additions and 2 deletions
4
.github/actions/github-release/main.js
vendored
4
.github/actions/github-release/main.js
vendored
|
|
@ -56,7 +56,7 @@ async function runOnce() {
|
|||
force: true,
|
||||
});
|
||||
} catch (e) {
|
||||
console.log("ERROR: ", JSON.stringify(e.data, null, 2));
|
||||
console.log("ERROR: ", JSON.stringify(e.response, null, 2));
|
||||
core.info(`creating dev tag`);
|
||||
try {
|
||||
await octokit.rest.git.createRef({
|
||||
|
|
@ -68,7 +68,7 @@ async function runOnce() {
|
|||
} catch (e) {
|
||||
// we might race with others, so assume someone else has created the
|
||||
// tag by this point.
|
||||
console.log("failed to create tag: ", JSON.stringify(e.data, null, 2));
|
||||
console.log("failed to create tag: ", JSON.stringify(e.response, null, 2));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue