Remove node12 (#2717)

* .

* fix hashes

* clean up node12 deprecation warning

* Remove node12 from the BuildInVersions list
This commit is contained in:
Tatyana Kostromskaya
2023-08-10 15:16:30 +02:00
committed by GitHub
parent 719348e0bf
commit 9eb4b96713
13 changed files with 35 additions and 117 deletions

View File

@@ -6,12 +6,7 @@ namespace GitHub.Runner.Common.Util
public static class NodeUtil
{
private const string _defaultNodeVersion = "node16";
#if (OS_OSX || OS_WINDOWS) && ARM64
public static readonly ReadOnlyCollection<string> BuiltInNodeVersions = new(new[] { "node16" });
#else
public static readonly ReadOnlyCollection<string> BuiltInNodeVersions = new(new[] { "node12", "node16" });
#endif
public static string GetInternalNodeVersion()
{