retailnext/Execute Command
Execute an arbitrary command and capture its output
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The command to execute | yes | — |
| success_exit_codes | Exit 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". | no | 0 |
| hide_outputs | When 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". | no | false |
Outputs
| name | description |
|---|---|
| stdout_file | Path to the file containing the standard output of the command |
| stderr_file | Path to the file containing the standard error of the command |
| exit_code | The exit code of the command |