Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbe8e20

Browse files
committed
Update README to clarify just-version input
1 parent 43bd6a1 commit fbe8e20

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ This GitHub Action will install the latest release of the
99

1010
### Inputs
1111

12-
| Name | Required | Description | Type | Default |
13-
| -------------- | -------- | -------------------------------------------------------- | ------ | ------- |
14-
| `just-version` | no | A valid semver specification for the version to install. | string | * |
15-
12+
| Name | Required | Description | Type | Default |
13+
| -------------- | -------- | --------------------------------------- | ------ | ------- |
14+
| `just-version` | no | A valid NPM-style semver specification. | string | * |
15+
16+
The semver specification is passed directly to NPM's [semver
17+
package](https://www.npmjs.com/package/semver). This GitHub Action will install
18+
the latest matching release. Examples include
19+
20+
- `just-version: '*'` latest version (default).
21+
- `just-version: '0.8'` equivalent to `>=0.8.0 <0.9.0`.
22+
- `just-version: '0.8.x'` equivalent to `>=0.8.0 <0.9.0`.
23+
- `just-version: '0.8.3'` equivalent to `=0.8.3`.
24+
- `just-version: '^0.8.3'` equivalent to `>=0.8.3 <0.9.0`.
1625

1726
### Basic example
1827

0 commit comments

Comments
 (0)