Compare commits

..

1 Commits

Author SHA1 Message Date
Ferenc Hammerl
7785d8e104 Release 2.293.0 2022-06-10 15:57:33 +02:00
3 changed files with 1 additions and 7 deletions

View File

@@ -1 +1 @@
<Update to ./src/runnerversion when creating release>
2.293.0

View File

@@ -735,17 +735,12 @@ namespace GitHub.Runner.Worker
var base64EncodedToken = Convert.ToBase64String(Encoding.UTF8.GetBytes($"x-access-token:{githubAccessToken}"));
HostContext.SecretMasker.AddValue(base64EncodedToken);
var githubJob = Global.Variables.Get("system.github.job");
var githubJobId = Global.Variables.Get("system.github.jobId");
var githubContext = new GitHubContext();
githubContext["token"] = githubAccessToken;
if (!string.IsNullOrEmpty(githubJob))
{
githubContext["job"] = new StringContextData(githubJob);
}
if (!string.IsNullOrEmpty(githubJobId))
{
githubContext["job_id"] = new StringContextData(githubJobId);
}
var githubDictionary = ExpressionValues["github"].AssertDictionary("github");
foreach (var pair in githubDictionary)
{

View File

@@ -21,7 +21,6 @@ namespace GitHub.Runner.Worker
"graphql_url",
"head_ref",
"job",
"job_id",
"path",
"ref_name",
"ref_protected",