.
This commit is contained in:
@@ -309,12 +309,6 @@ namespace GitHub.Runner.Worker
|
|||||||
Result = result;
|
Result = result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// update context
|
|
||||||
if (!string.IsNullOrEmpty(ContextName))
|
|
||||||
{
|
|
||||||
StepsContext.SetConclusion(ScopeName, ContextName, Result.Value.ToContextData());
|
|
||||||
}
|
|
||||||
|
|
||||||
// report total delay caused by server throttling.
|
// report total delay caused by server throttling.
|
||||||
if (_totalThrottlingDelayInMilliseconds > 0)
|
if (_totalThrottlingDelayInMilliseconds > 0)
|
||||||
{
|
{
|
||||||
@@ -348,6 +342,12 @@ namespace GitHub.Runner.Worker
|
|||||||
|
|
||||||
_logger.End();
|
_logger.End();
|
||||||
|
|
||||||
|
// update context
|
||||||
|
if (!string.IsNullOrEmpty(ContextName))
|
||||||
|
{
|
||||||
|
StepsContext.SetConclusion(ScopeName, ContextName, Result.Value.ToContextData());
|
||||||
|
}
|
||||||
|
|
||||||
return Result.Value;
|
return Result.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user