This commit is contained in:
eric sciple
2020-01-13 19:26:37 -05:00
parent 7a18d3001d
commit ece9b6d04b
2 changed files with 4 additions and 4 deletions

View File

@@ -312,7 +312,7 @@ namespace GitHub.Runner.Worker
// update context
if (!string.IsNullOrEmpty(ContextName))
{
StepsContext.SetOutcome(ScopeName, ContextName, Result.Value.ToContextData());
StepsContext.SetConclusion(ScopeName, ContextName, Result.Value.ToContextData());
}
// report total delay caused by server throttling.

View File

@@ -56,13 +56,13 @@ namespace GitHub.Runner.Worker
}
}
public void SetOutcome(
public void SetConclusion(
string scopeName,
string stepName,
StringContextData outcome)
StringContextData conclusion)
{
var step = GetStep(scopeName, stepName);
step["outcome"] = outcome;
step["conclusion"] = conclusion;
}
private DictionaryContextData GetStep(string scopeName, string stepName)