mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 03:41:06 +07:00
Update php-version and php-version-file input section in README
This commit is contained in:
parent
9c411b6e2b
commit
f2018b2189
10
README.md
10
README.md
@ -398,16 +398,16 @@ Disable coverage for these reasons:
|
||||
- Accepts `latest` to set up the latest stable PHP version.
|
||||
- Accepts `nightly` to set up a nightly build from the master branch of PHP.
|
||||
- Accepts the format `d.x`, where `d` is the major version. For example `5.x`, `7.x` and `8.x`.
|
||||
- See [PHP support](#tada-php-support) for supported PHP versions.
|
||||
- By default, the PHP version is read from `php-version-file`.
|
||||
- Required if `php-version-file` does not exist.
|
||||
- See [PHP support](#tada-php-support) for the supported PHP versions.
|
||||
- If not specified, it looks for `php-version-file` input.
|
||||
|
||||
#### `php-version-file` (optional)
|
||||
|
||||
- Specify the PHP version file you want to read when `php-version` is not provided.
|
||||
- Specify a file with the PHP version you want to set up.
|
||||
- Accepts a `string`. For example `'.phpenv-version'`.
|
||||
- See [PHP support](#tada-php-support) for supported PHP versions.
|
||||
- See [PHP support](#tada-php-support) for the supported PHP versions.
|
||||
- By default, `.php-version` file is used.
|
||||
- If not specified and the default `.php-version` file is not found, the latest stable PHP version is set up.
|
||||
|
||||
#### `extensions` (optional)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user