mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edb3681ccc | ||
|
|
10aafef52f | ||
|
|
2b89a7ffea | ||
|
|
ffae5b7a54 | ||
|
|
b3e56206cf |
@@ -11,7 +11,7 @@
|
|||||||
- Added the option to use the --replace argument to the create-latest-svc.sh (#2273)
|
- Added the option to use the --replace argument to the create-latest-svc.sh (#2273)
|
||||||
- Made runner_name optional defaulting to hostname in delete.sh script (#1871)
|
- Made runner_name optional defaulting to hostname in delete.sh script (#1871)
|
||||||
- Return exit code when MANUALLY_TRAP_SIG is exported (#2285)
|
- Return exit code when MANUALLY_TRAP_SIG is exported (#2285)
|
||||||
- Use results for uploading step summaries (#2301)
|
- Use results for uploading step summaries (#2301) with limited size (#2321)
|
||||||
|
|
||||||
## Windows x64
|
## Windows x64
|
||||||
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
We recommend configuring the runner in a root folder of the Windows drive (e.g. "C:\actions-runner"). This will help avoid issues related to service identity folder permissions and long file path restrictions on Windows.
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
<Update to ./src/runnerversion when creating release>
|
2.300.1
|
||||||
|
|||||||
@@ -182,6 +182,14 @@ namespace GitHub.Runner.Worker
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fileSize > AttachmentSizeLimit)
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
Trace.Verbose($"Step Summary file exists: {filePath} and has a file size of {fileSize} bytes");
|
Trace.Verbose($"Step Summary file exists: {filePath} and has a file size of {fileSize} bytes");
|
||||||
var scrubbedFilePath = filePath + "-scrubbed";
|
var scrubbedFilePath = filePath + "-scrubbed";
|
||||||
|
|
||||||
@@ -210,14 +218,6 @@ namespace GitHub.Runner.Worker
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (fileSize > AttachmentSizeLimit)
|
|
||||||
{
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
Trace.Info($"Queueing file ({filePath}) for attachment upload ({attachmentName})");
|
Trace.Info($"Queueing file ({filePath}) for attachment upload ({attachmentName})");
|
||||||
// Attachments must be added to the parent context (job), not the current context (step)
|
// Attachments must be added to the parent context (job), not the current context (step)
|
||||||
context.Root.QueueAttachFile(ChecksAttachmentType.StepSummary, attachmentName, scrubbedFilePath);
|
context.Root.QueueAttachFile(ChecksAttachmentType.StepSummary, attachmentName, scrubbedFilePath);
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ using System.Threading;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using GitHub.Services.Results.Contracts;
|
using GitHub.Services.Results.Contracts;
|
||||||
using System.Net.Http.Formatting;
|
using System.Net.Http.Formatting;
|
||||||
using Sdk.WebApi.WebApi;
|
using GitHub.Services.WebApi;
|
||||||
|
|
||||||
namespace GitHub.Services.Results.Client
|
namespace GitHub.Services.Results.Client
|
||||||
{
|
{
|
||||||
public class ResultsHttpClient : RawHttpClientBase
|
public class ResultsHttpClient : VssHttpClientBase
|
||||||
{
|
{
|
||||||
public ResultsHttpClient(
|
public ResultsHttpClient(
|
||||||
Uri baseUrl,
|
Uri baseUrl,
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2.300.0
|
2.300.1
|
||||||
|
|||||||
Reference in New Issue
Block a user