mirror of
https://github.com/actions/runner.git
synced 2025-12-10 04:06:57 +00:00
* send annotations to run-service * skip message deletion * actually don't skip deletion * enum as numbers * fix enum * linting * remove unncessary file * feedback
44 lines
1.4 KiB
C#
44 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using System.Threading.Tasks;
|
|
using GitHub.DistributedTask.WebApi;
|
|
using Sdk.RSWebApi.Contracts;
|
|
|
|
namespace GitHub.Actions.RunService.WebApi
|
|
{
|
|
[DataContract]
|
|
public class StepResult
|
|
{
|
|
[DataMember(Name = "external_id", EmitDefaultValue = false)]
|
|
public Guid ExternalID { get; set; }
|
|
|
|
[DataMember(Name = "number", EmitDefaultValue = false)]
|
|
public int? Number { get; set; }
|
|
|
|
[DataMember(Name = "name", EmitDefaultValue = false)]
|
|
public string Name { get; set; }
|
|
|
|
[DataMember(Name = "status")]
|
|
public TimelineRecordState? Status { get; set; }
|
|
|
|
[DataMember(Name = "conclusion")]
|
|
public TaskResult? Conclusion { get; set; }
|
|
|
|
[DataMember(Name = "started_at", EmitDefaultValue = false)]
|
|
public DateTime? StartedAt { get; set; }
|
|
|
|
[DataMember(Name = "completed_at", EmitDefaultValue = false)]
|
|
public DateTime? CompletedAt { get; set; }
|
|
|
|
[DataMember(Name = "completed_log_url", EmitDefaultValue = false)]
|
|
public string CompletedLogURL { get; set; }
|
|
|
|
[DataMember(Name = "completed_log_lines", EmitDefaultValue = false)]
|
|
public long? CompletedLogLines { get; set; }
|
|
|
|
[DataMember(Name = "annotations", EmitDefaultValue = false)]
|
|
public List<Annotation> Annotations { get; set; }
|
|
}
|
|
}
|