diff --git a/src/Runner.Worker/Handlers/NodeScriptActionHandler.cs b/src/Runner.Worker/Handlers/NodeScriptActionHandler.cs index da0d66f67..64b412489 100644 --- a/src/Runner.Worker/Handlers/NodeScriptActionHandler.cs +++ b/src/Runner.Worker/Handlers/NodeScriptActionHandler.cs @@ -97,6 +97,9 @@ namespace GitHub.Runner.Worker.Handlers Encoding outputEncoding = null; #endif + // Remove environment variable that may cause conflicts with the node within the runner. + Environment.Remove("NODE_ICU_DATA"); // https://github.com/actions/runner/issues/795 + using (var stdoutManager = new OutputManager(ExecutionContext, ActionCommandManager)) using (var stderrManager = new OutputManager(ExecutionContext, ActionCommandManager)) {