-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
42 lines (38 loc) · 1.28 KB
/
action.yml
File metadata and controls
42 lines (38 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Execute Command
description: Execute an arbitrary command and capture its output
author: RetailNext
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: terminal
color: blue
# Define your inputs here.
inputs:
command:
description: The command to execute
required: true
success_exit_codes:
description: >
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".
required: false
default: '0'
hide_outputs:
description: >
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".
required: false
default: 'false'
# Define your outputs here.
outputs:
stdout_file:
description: Path to the file containing the standard output of the command
stderr_file:
description: Path to the file containing the standard error of the command
exit_code:
description: The exit code of the command
runs:
using: node24
main: dist/index.js