mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Unset NODE_ICU_DATA before starting node in NodeHandler. (#1060)
* Unset NODE_ICU_DATA before starting node in NodeHandler. * Update src/Runner.Worker/Handlers/NodeScriptActionHandler.cs Co-authored-by: Ross Brodbeck <hross@users.noreply.github.com> Co-authored-by: Ross Brodbeck <hross@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user