read env file (#683)

This commit is contained in:
eric sciple
2020-08-29 23:18:35 -04:00
committed by GitHub
parent 9976cb92a0
commit 3a76a2e291
6 changed files with 541 additions and 17 deletions

View File

@@ -41,5 +41,17 @@ namespace GitHub.Runner.Worker
}
}
}
public GitHubContext ShallowCopy()
{
var copy = new GitHubContext();
foreach (var pair in this)
{
copy[pair.Key] = pair.Value;
}
return copy;
}
}
}