diff --git a/src/main.ts b/src/main.ts index 0453e9f..244164c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -49,8 +49,12 @@ async function main(): Promise { try { const { stdout, stderr } = await run(actionInput); + core.startGroup("setting outputs"); + console.log("stdout: ", stdout.slice(0, 50), "..."); core.setOutput("stdout", stdout); - core.setOutput("stdout", stderr); + console.log("stderr: ", stderr.slice(0, 50), "..."); + core.setOutput("stderr", stderr); + core.endGroup(); } catch (error) { core.setFailed((error).message); }