Skip to content

Commit

Permalink
debug output exitcode
Browse files Browse the repository at this point in the history
Signed-off-by: Rishav Dhar <19497993+rdhar@users.noreply.github.com>
  • Loading branch information
rdhar committed Sep 12, 2024
1 parent ab1fef0 commit a7dec0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ module.exports = async ({ context, core, exec, github }) => {
cli_input = header.concat(arguments.slice(input_header_slice)).join(" ");
cli_result = "";
core.setOutput("header", cli_input);
await exec.exec(process.env.tf_tool, arguments, options);
const exitcode = await exec.exec(process.env.tf_tool, arguments, options);
// write code to output exitcode from the exec command
console.log("EXITCODE", exitcode.toString());
};

try {
Expand Down

0 comments on commit a7dec0f

Please sign in to comment.