mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Add node20 to runner (#2732)
* . * fix hashes * fix linux-arm * linux-arm64 * osx-x64 * win-x64 * clean up node12 deprecation warning * Add node20 * Remove node12 from the BuildInVersions list * fix externals hash
This commit is contained in:
committed by
GitHub
parent
6680a3b142
commit
8206cf4e73
@@ -6,8 +6,7 @@ namespace GitHub.Runner.Common.Util
|
||||
public static class NodeUtil
|
||||
{
|
||||
private const string _defaultNodeVersion = "node16";
|
||||
public static readonly ReadOnlyCollection<string> BuiltInNodeVersions = new(new[] { "node16" });
|
||||
|
||||
public static readonly ReadOnlyCollection<string> BuiltInNodeVersions = new(new[] { "node16", "node20" });
|
||||
public static string GetInternalNodeVersion()
|
||||
{
|
||||
var forcedInternalNodeVersion = Environment.GetEnvironmentVariable(Constants.Variables.Agent.ForcedInternalNodeVersion);
|
||||
|
||||
Reference in New Issue
Block a user