You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Please feel free to use `uses: php-actions/composer@v6` to always run the latest
39
39
Running custom commands
40
40
-----------------------
41
41
42
-
By default, adding `- uses: php-actions/composer@v6` into your workflow will run `composer install`, as `install` is the default command name. The install command will be provided with a default set of arguments (see below).
42
+
By default, adding `- uses: php-actions/composer@v6` into your workflow will run `composer install`, as `install` is the default command name. The `install` command will be provided with a default set of arguments (see below).
43
43
44
44
You can issue custom commands by passing a `command` input, like so:
45
45
@@ -60,14 +60,14 @@ Passing arguments
60
60
61
61
Any arbitrary arguments can be passed to composer by using the `args` input, however there are a few inputs pre-configured to handle common arguments. All inputs are optional. Please see the following list:
62
62
63
-
+ `interaction` - Whether to ask any interactive questions - yes / no (default no)
64
-
+ `dev` - Whether to install dev packages - yes / no (default **yes**)
65
-
+ `progress` - Whether to output download progress - yes / no (default no)
66
-
+ `quiet` - Whether to suppress all messages - yes / no (default no)
63
+
+ `interaction` - Whether to ask any interactive questions - yes / no (default `no`)
64
+
+ `dev` - Whether to install dev packages - yes / no (default `yes`)
65
+
+ `progress` - Whether to output download progress - yes / no (default `no`)
66
+
+ `quiet` - Whether to suppress all messages - yes / no (default `no`)
67
67
+ `args` - Optional arguments to pass - no constraints (default _empty_)
68
68
+ `only_args` - Only run the desired command with this args. Ignoring all other provided arguments(default _empty_)
69
-
+ `php_version` - Choose which version of PHP you want to use (7.1, 7.2, 7.3, 7.4 or 8.0)
70
-
+ `version` - Choose which version of Composer you want to use (1.x, 2.x, 2.2.x, latest)
69
+
+ `php_version` - Choose which version of PHP you want to use - x.y (default `latest`) (e.g. `8.2`, or any version listed on https://www.php.net/releases/index.php)
70
+
+ `version` - Choose which version of Composer you want to use - default `latest` (e.g. `1.10`, `2.3`, `2.5.4`)
There are also SSH input available: `ssh_key`, `ssh_key_pub` and `ssh_domain` that are used for depending on private repositories. See below for more information on usage.
0 commit comments