Skip to content

Commit 5db8d28

Browse files
authored
Add note about NVM and latest release syntax being outdated
Closes actions#1236 Closes actions#1114 Closes actions#940 As extensively documented in actions#1236 and actions#940, the non-exact aliases `lts/*`, `*`, `current`, `latest`, and `22` are slow to be upgraded, lagging several days behind the Node.js releases. Let users know about this downside.
1 parent 5e2628c commit 5db8d28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Examples:
123123
- NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n`
124124
- Latest release: `*` or `latest`/`current`/`node`
125125

126-
**Note:** Like the other values, `*` will get the latest [locally-cached Node.js version](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#nodejs), or the latest version from [actions/node-versions](https://github.com/actions/node-versions/blob/main/versions-manifest.json), depending on the [`check-latest`](docs/advanced-usage.md#check-latest-version) input.
126+
**Note:** If you require timely version upgrades, use specific versions like `22.18.0` and upgrade the versions yourself. Values like `lts/*`, `*`, `latest`, etc. will get the latest [locally-cached Node.js version](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#nodejs), or the latest version from [actions/node-versions](https://github.com/actions/node-versions/blob/main/versions-manifest.json), depending on the [`check-latest`](docs/advanced-usage.md#check-latest-version) input. Both can be several days outdated.
127127

128128
`current`/`latest`/`node` always resolve to the latest [dist version](https://nodejs.org/dist/index.json).
129129
That version is then downloaded from actions/node-versions if possible, or directly from Node.js if not.

0 commit comments

Comments
 (0)