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:
Tatyana Kostromskaya
2023-08-11 11:11:28 +02:00
committed by GitHub
parent 6680a3b142
commit 8206cf4e73
17 changed files with 212 additions and 15 deletions

View File

@@ -108,8 +108,8 @@ namespace GitHub.Runner.Worker.Handlers
ExecutionContext.Output($"The node12 is not supported. Use node16 instead.");
Data.NodeVersion = "node16";
}
string forcedNodeVersion = System.Environment.GetEnvironmentVariable(Constants.Variables.Agent.ForcedActionsNodeVersion);
string forcedNodeVersion = System.Environment.GetEnvironmentVariable(Constants.Variables.Agent.ForcedActionsNodeVersion);
if (forcedNodeVersion == "node16" && Data.NodeVersion != "node16")
{
Data.NodeVersion = "node16";