Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Reduce latency when new node versions are released #160
Comments
|
The same thing is true when specifying "v12.x". If one wants the latest version one must specify it explicitly. I needed something later than the version 12.16.3 it was grabbing when given "v12.x", so I wrote "v12.18.0" for my node-version. This is not that great though, since I wish to always use the latest release. |
|
Hello everyone, just to clarify how it works:
Unfortunately, pre-cached versions are updated with small delay (usually, not longer than 1-1.5 weeks because images rollout takes much effort) so if you specify full version, action doesn't find it on image and downloads and installs it in runtime. If you just specify @bryanmacfarlane , may be some flag similar to |
|
Yes, @maxim-lobanov is correct. You can specify the exact version you need and we'll read through the cache and I'm happy to add the If you don't mind, I'm going to morph this issue into a tracking item for adding option to always get latest. OK? |
|
@bryanmacfarlane , That sounds good to me! |
|
I think we should enhance the actions/node-versions releases so they are updated everyday. That (1) provides the reliability we get from releases / CDN while at the same time (2) offering new versions with minimal latency. Reading through directly to node dist will completely eliminate the latency but at the same time, it will expose the fragility of failed downtimes when new releases are made from node - the very scenario here. |
This enlightenment was awesome! |
Hi there:
Thanks for this library. Just found that the
node-versionoption is not downloading the latest node release.v10.21.0 release notes:
https://nodejs.org/en/blog/vulnerability/june-2020-security-releases/
Our setup:
Logs:
Update:
seems related to this change: #147
Regards
Ken