Skip to content

Commit e33c201

Browse files
author
Greg Bowler
committed
docs: clarify versioning
closes #101
1 parent da5a2cb commit e33c201

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Please feel free to use `uses: php-actions/composer@v6` to always run the latest
3939
Running custom commands
4040
-----------------------
4141

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).
4343

4444
You can issue custom commands by passing a `command` input, like so:
4545

@@ -60,14 +60,14 @@ Passing arguments
6060
6161
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:
6262

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`)
6767
+ `args` - Optional arguments to pass - no constraints (default _empty_)
6868
+ `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`)
7171
+ `memory_limit` - Sets the composer memory limit - (default _empty_)
7272

7373
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

Comments
 (0)