You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 66f83c8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,9 +151,10 @@ Examples:
151
151
152
152
**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.
153
153
154
-
`current`/`latest`/`node` always resolve to the latest [dist version](https://nodejs.org/dist/index.json).
154
+
`current`/`latest`/`node` always resolve to the latest stable version from [dist index](https://nodejs.org/dist/index.json) (prerelease entries are skipped).
155
155
That version is then downloaded from actions/node-versions if possible, or directly from Node.js if not.
156
-
Since it will not be cached always, there is possibility of hitting rate limit when downloading from dist
156
+
If no stable version is available in the dist index, setup fails with an explicit error.
157
+
Since it will not always be cached, there is a possibility of hitting rate limits when downloading from dist.
throw new Error(`Unable to find a stable Node version for '${this.nodeInfo.versionSpec}' on platform ${this.osPlat} and architecture ${this.nodeInfo.arch}.`);
0 commit comments