mirror of
https://github.com/actions/runner.git
synced 2026-03-13 18:07:13 -04:00
.
This commit is contained in:
@@ -309,12 +309,6 @@ namespace GitHub.Runner.Worker
|
||||
Result = result;
|
||||
}
|
||||
|
||||
// update context
|
||||
if (!string.IsNullOrEmpty(ContextName))
|
||||
{
|
||||
StepsContext.SetConclusion(ScopeName, ContextName, Result.Value.ToContextData());
|
||||
}
|
||||
|
||||
// report total delay caused by server throttling.
|
||||
if (_totalThrottlingDelayInMilliseconds > 0)
|
||||
{
|
||||
@@ -348,6 +342,12 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
_logger.End();
|
||||
|
||||
// update context
|
||||
if (!string.IsNullOrEmpty(ContextName))
|
||||
{
|
||||
StepsContext.SetConclusion(ScopeName, ContextName, Result.Value.ToContextData());
|
||||
}
|
||||
|
||||
return Result.Value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user