mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user