Fix showing error details in the dev release action
This commit is contained in:
parent
0328ee571b
commit
6bab2e750b
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…
x
Reference in New Issue
Block a user