mirror of
https://github.com/actions/runner.git
synced 2025-12-13 10:05:23 +00:00
Remove node12 (#2717)
* . * fix hashes * clean up node12 deprecation warning * Remove node12 from the BuildInVersions list
This commit is contained in:
committed by
GitHub
parent
719348e0bf
commit
9eb4b96713
@@ -807,9 +807,9 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
Global.Variables = new Variables(HostContext, variables);
|
||||
|
||||
if (Global.Variables.GetBoolean("DistributedTask.ForceInternalNodeVersionOnRunnerTo12") ?? false)
|
||||
if (Global.Variables.GetBoolean("DistributedTask.ForceInternalNodeVersionOnRunnerTo16") ?? false)
|
||||
{
|
||||
Environment.SetEnvironmentVariable(Constants.Variables.Agent.ForcedInternalNodeVersion, "node12");
|
||||
Environment.SetEnvironmentVariable(Constants.Variables.Agent.ForcedInternalNodeVersion, "node16");
|
||||
}
|
||||
|
||||
// Environment variables shared across all actions
|
||||
|
||||
Reference in New Issue
Block a user