forked from php-actions/composer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
80 lines (67 loc) · 2.08 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: 'Composer (php-actions)'
description: 'Use the Composer CLI in your Github Actions.'
inputs:
command:
description: Composer command to run
required: true
default: install
only_args:
description: "Only run the desired command with this args. Ignoring all other provided arguments"
required: false
interaction:
description: "Whether to ask any interactive questions. Values: 'yes' or 'no'"
required: false
default: no
suggest:
description: "Whether to show package suggestions. Values: 'yes' or 'no'"
required: false
default: no
dev:
description: "Whether to install dev packages. Values: 'yes' or 'no'"
required: false
default: yes
progress:
description: "Whether to output download progress"
required: false
default: no
quiet:
description: "Whether to suppress all messages"
required: false
default: no
args:
description: Optional arguments to pass
required: false
ssh_key:
description: The private key contents to use for private repositories
required: false
ssh_key_pub:
description: The public key contents to use for private repositories
required: false
ssh_domain:
description: The domain to gather SSH public keys for (automatic for github.com, gitlab.com, bitbucket.org)
required: false
working_dir:
description: Use the given directory as working directory
required: false
outputs:
time:
description: 'The time the action was run'
runs:
using: 'docker'
image: 'Dockerfile'
env:
action_command: ${{ inputs.command }}
action_only_args: ${{ inputs.only_args }}
action_interaction: ${{ inputs.interaction }}
action_suggest: ${{ inputs.suggest }}
action_dev: ${{ inputs.dev }}
action_progress: ${{ inputs.progress }}
action_quiet: ${{ inputs.quiet }}
action_args: ${{ inputs.args }}
action_ssh_key: ${{ inputs.ssh_key }}
action_ssh_key_pub: ${{ inputs.ssh_key_pub }}
action_ssh_domain: ${{ inputs.ssh_domain }}
action_working_dir: ${{ inputs.working_dir }}
branding:
icon: 'package'
color: 'purple'