1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2024-12-22 21:22:42 +00:00

improve version syntax presentation (#493)

This commit is contained in:
tooomm 2022-05-18 09:50:55 +02:00 committed by GitHub
parent 4d62fafc05
commit 3601f2a33e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,12 +35,12 @@ For information regarding locally cached versions of Node.js on GitHub hosted ru
### Supported version syntax ### Supported version syntax
The `node-version` input supports the following syntax: The `node-version` input supports the following values:
major versions: `12`, `14`, `16` - Major versions: `12`, `14`, `16`
more specific versions: `10.15`, `14.2.0`, `16.3.0` - More specific versions: `10.15`, `14.2.0`, `16.3.0`
nvm lts syntax: `lts/erbium`, `lts/fermium`, `lts/*` - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`
latest release: `latest`/`current`/`node` - Latest release: `latest`/`current`/`node`
**Note:** Since the latest release will not be cached always, there is possibility of hitting rate limit when downloading from dist **Note:** Since the latest release will not be cached always, there is possibility of hitting rate limit when downloading from dist