retailnext/Execute Command

Execute an arbitrary command and capture its output

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandThe command to executeyes
success_exit_codesExit codes that should be treated as success. Can be individual codes (e.g., "0,1,2") or ranges (e.g., "0-2,5,10-15"). Default is "0". no0
hide_outputsWhen set to true, stdout and stderr from the command are only written to the respective output files and are not written to the stdout/stderr of the action itself. This hides the outputs from the GitHub Actions log while still making them available to subsequent workflow steps via the output files. Default is "false". nofalse
namedescription
stdout_filePath to the file containing the standard output of the command
stderr_filePath to the file containing the standard error of the command
exit_codeThe exit code of the command