mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +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
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user