mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
Add internal to node version function and use better env var name (#1715)
This commit is contained in:
@@ -680,7 +680,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
if (Global.Variables.GetBoolean("DistributedTask.ForceInternalNodeVersionOnRunnerTo12") ?? false)
|
||||
{
|
||||
Environment.SetEnvironmentVariable(Constants.Variables.Agent.ForcedNodeVersion, "node12");
|
||||
Environment.SetEnvironmentVariable(Constants.Variables.Agent.ForcedInternalNodeVersion, "node12");
|
||||
}
|
||||
|
||||
// Environment variables shared across all actions
|
||||
|
||||
Reference in New Issue
Block a user