mirror of
https://github.com/actions/runner.git
synced 2025-12-13 19:03:44 +00:00
.
This commit is contained in:
@@ -312,7 +312,7 @@ namespace GitHub.Runner.Worker
|
|||||||
// update context
|
// update context
|
||||||
if (!string.IsNullOrEmpty(ContextName))
|
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.
|
// report total delay caused by server throttling.
|
||||||
|
|||||||
@@ -56,13 +56,13 @@ namespace GitHub.Runner.Worker
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetOutcome(
|
public void SetConclusion(
|
||||||
string scopeName,
|
string scopeName,
|
||||||
string stepName,
|
string stepName,
|
||||||
StringContextData outcome)
|
StringContextData conclusion)
|
||||||
{
|
{
|
||||||
var step = GetStep(scopeName, stepName);
|
var step = GetStep(scopeName, stepName);
|
||||||
step["outcome"] = outcome;
|
step["conclusion"] = conclusion;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DictionaryContextData GetStep(string scopeName, string stepName)
|
private DictionaryContextData GetStep(string scopeName, string stepName)
|
||||||
|
|||||||
Reference in New Issue
Block a user