Env Flow => Able to get env variables and overwrite current env variables => but it doesn't 'stick'

This commit is contained in:
Ethan Chiu
2020-06-18 15:34:48 -04:00
parent 038e5e2c2e
commit e56b2439b9
7 changed files with 111 additions and 3 deletions

View File

@@ -255,6 +255,14 @@ namespace GitHub.Runner.Worker.Handlers
Environment[env.Key] = env.Value;
}
}
// if (context.Key == "env" && context.Value != null && !String.IsNullOrEmpty(System.Environment.GetEnvironmentVariable("TESTING_COMPOSITE_ACTIONS_ALPHA")))
// {
// foreach (var env in context.Value as DictionaryContextData)
// {
// Environment[env.Key] = env.Value as StringContextData;
// }
// }
}
// dump out the command