mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
swap to warning
This commit is contained in:
@@ -788,7 +788,7 @@ namespace GitHub.Runner.Worker
|
||||
(downloadInfo.Ref.StartsWith("v1.") || (downloadInfo.Ref.StartsWith("v2.") // '.' is important to avoid v10 conflict
|
||||
|| downloadInfo.Ref == "v1" || downloadInfo.Ref == "v2")))
|
||||
{
|
||||
executionContext.Error($"'{downloadInfo.NameWithOwner}@{downloadInfo.Ref}' is deprecated and will be disabled on xyz. Please upgrade to 'v4'. For more information, see (blogpost here)");
|
||||
executionContext.Warning($"'{downloadInfo.NameWithOwner}@{downloadInfo.Ref}' is deprecated and will be disabled on xyz. Please upgrade to 'v4'. For more information, see (blogpost here)");
|
||||
}
|
||||
|
||||
//download and extract action in a temp folder and rename it on success
|
||||
|
||||
Reference in New Issue
Block a user