mirror of
https://github.com/actions/runner.git
synced 2025-12-11 04:46:58 +00:00
Update summary max file size annotation error text (#1712)
* add doc link to summary file size err annotation * Update src/Runner.Common/Constants.cs Co-authored-by: Konrad Pabjan <konradpabjan@github.com> * remove i18n from url Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
This commit is contained in:
@@ -298,7 +298,7 @@ namespace GitHub.Runner.Worker
|
||||
|
||||
if (fileSize > _attachmentSizeLimit)
|
||||
{
|
||||
context.Error($"$GITHUB_STEP_SUMMARY supports content up a size of {_attachmentSizeLimit / 1024}k got {fileSize / 1024}k");
|
||||
context.Error(String.Format(Constants.Runner.UnsupportedSummarySize, _attachmentSizeLimit / 1024, fileSize / 1024));
|
||||
Trace.Info($"Step Summary file ({filePath}) is too large ({fileSize} bytes); skipping attachment upload");
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user