mirror of
https://github.com/actions/runner.git
synced 2025-12-13 00:36:29 +00:00
Env Flow => Able to get env variables and overwrite current env variables => but it doesn't 'stick'
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user