swap to warning

This commit is contained in:
Thomas Boop
2024-02-12 17:37:14 -05:00
parent 1c69531e97
commit 7e583ee157

View File

@@ -788,7 +788,7 @@ namespace GitHub.Runner.Worker
(downloadInfo.Ref.StartsWith("v1.") || (downloadInfo.Ref.StartsWith("v2.") // '.' is important to avoid v10 conflict (downloadInfo.Ref.StartsWith("v1.") || (downloadInfo.Ref.StartsWith("v2.") // '.' is important to avoid v10 conflict
|| downloadInfo.Ref == "v1" || downloadInfo.Ref == "v2"))) || 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 //download and extract action in a temp folder and rename it on success