Support lts/-n aliases

This commit is contained in:
Jack Bates 2022-05-02 11:40:03 -07:00
parent ed1a46e9f2
commit 0ae8776763
4 changed files with 100 additions and 12 deletions

View file

@ -39,7 +39,7 @@ The `node-version` input supports the following values:
- Major versions: `12`, `14`, `16`
- 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/*`, `lts/-n`
- 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