From f3ec4ca66feedca88150c6d39d92449ce4ca063b Mon Sep 17 00:00:00 2001 From: fusagiko / takayamaki <24884114+takayamaki@users.noreply.github.com> Date: Wed, 13 Dec 2023 20:46:19 +0900 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20d23405..cd218e74 100644 --- a/README.md +++ b/README.md @@ -103,12 +103,12 @@ The `node-version` input supports the Semantic Versioning Specification, for mor Examples: - - Major versions: `14`, `16`, `18` + - Major versions: `16`, `18`, `20` - More specific versions: `10.15`, `16.15.1` , `18.4.0` - NVM LTS syntax: `lts/erbium`, `lts/fermium`, `lts/*`, `lts/-n` - Latest release: `*` or `latest`/`current`/`node` -**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. +**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. `current`/`latest`/`node` always resolve to the latest [dist version](https://nodejs.org/dist/index.json). That version is then downloaded from actions/node-versions if possible, or directly from Node.js if not.