Skip to content

Commit f3ec4ca

Browse files
authored
Fix README.md (#898)
* Fix URL of locally-cached Node.js version in README * Change example of Major versions in Supported version syntax setup-node v4 supports node v20, but these example may cause misunderstanding like a v20 is not supported. --------- Co-authored-by: fusagiko/takayamaki <[email protected]>
1 parent ec97f37 commit f3ec4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ The `node-version` input supports the Semantic Versioning Specification, for mor
103103

104104
Examples:
105105

106-
- Major versions: `14`, `16`, `18`
106+
- Major versions: `16`, `18`, `20`
107107
- More specific versions: `10.15`, `16.15.1` , `18.4.0`
108108
- NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n`
109109
- Latest release: `*` or `latest`/`current`/`node`
110110

111-
**Note:** Like the other values, `*` will get the latest [locally-cached Node.js version](https://github.com/actions/runner-images/blob/main/images/linux/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.
111+
**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.
112112

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

0 commit comments

Comments
 (0)