mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
GITHUB_ACTION_PATH + GITHUB_ACTION so that we can run scripts for Composite Run Steps (#615)
* Add environment variable for GITHUB_ACTION_PATH * ah * Remove debugging messages * Set github action path at step level instead of global scope to avoid necessary removal * Remove set context for github action * Set github action path before and after composite action * Copy GitHub Context, use this copied context for each composit step, and then set the action_path for each one (to avoid stamping over parent pointer GitHubContext
This commit is contained in:
@@ -9,6 +9,7 @@ namespace GitHub.Runner.Worker
|
||||
private readonly HashSet<string> _contextEnvWhitelist = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
"action",
|
||||
"action_path",
|
||||
"actor",
|
||||
"api_url",
|
||||
"base_ref",
|
||||
|
||||
Reference in New Issue
Block a user