mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
Improve the out-of-date warning message. (#3595)
This commit is contained in:
@@ -532,7 +532,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
if (result == TaskResult.Failed && warnOnFailedJob)
|
||||
{
|
||||
jobContext.Warning($"This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version {currentVersion}. Please update to the latest version {serverPackages[0].Version}");
|
||||
jobContext.Warning($"This job failure may be caused by using an out of date version of GitHub runner on your self-hosted runner. You are currently using GitHub runner version {currentVersion}. Please update to the latest version {serverPackages[0].Version}");
|
||||
}
|
||||
else if (warnOnOldRunnerVersion)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user