-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
34 lines (34 loc) · 967 Bytes
/
action.yml
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
name: 'OS specific run'
description: 'Run a command based on the OS'
author: Nick Maliwacki
inputs:
linux: # id of input
description: 'linux commandline'
required: false
default: 'echo "No command specified for linux"'
macos: # id of input
description: 'macos commandline'
required: false
default: 'echo "No command specified for macos"'
windows: # id of input
description: 'windows commandline'
required: false
default: 'echo "No command specified for windows"'
linuxShell: # id of input
description: 'linux commandline shell'
required: false
default: 'bash'
macosShell: # id of input
description: 'macos commandline shell'
required: false
default: 'bash'
windowsShell: # id of input
description: 'windows commandline shell'
required: false
default: 'pwsh'
branding:
icon: list
color: purple
runs:
using: 'node12'
main: 'dist/index.js'