From 8249fd842a7c3b9b38ef065d0a2c8446116c39f2 Mon Sep 17 00:00:00 2001 From: fusagiko/takayamaki Date: Fri, 17 Nov 2023 05:15:08 +0000 Subject: [PATCH 1/2] Fix URL of locally-cached Node.js version in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20d23405a..09ce3137e 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Examples: - 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. From c070bdd0a93e545fd0b2b9826b9eb200cb006055 Mon Sep 17 00:00:00 2001 From: fusagiko/takayamaki Date: Fri, 17 Nov 2023 05:19:20 +0000 Subject: [PATCH 2/2] 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09ce3137e..cd218e741 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ 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`