mirror of
https://github.com/actions/runner.git
synced 2025-12-10 04:06:57 +00:00
* send more stuff as part of job completed * feedback * set only once * feedback * feedback * fix test * feedback * nit: spacing * nit: line Co-authored-by: Tingluo Huang <tingluohuang@github.com> --------- Co-authored-by: Tingluo Huang <tingluohuang@github.com>
26 lines
839 B
C#
26 lines
839 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.Serialization;
|
|
using GitHub.DistributedTask.WebApi;
|
|
|
|
namespace GitHub.Actions.RunService.WebApi
|
|
{
|
|
[DataContract]
|
|
public class CompleteJobRequest
|
|
{
|
|
[DataMember(Name = "planId", EmitDefaultValue = false)]
|
|
public Guid PlanID { get; set; }
|
|
|
|
[DataMember(Name = "jobId", EmitDefaultValue = false)]
|
|
public Guid JobID { get; set; }
|
|
|
|
[DataMember(Name = "conclusion")]
|
|
public TaskResult Conclusion { get; set; }
|
|
|
|
[DataMember(Name = "outputs", EmitDefaultValue = false)]
|
|
public Dictionary<string, VariableValue> Outputs { get; set; }
|
|
|
|
[DataMember(Name = "stepResults", EmitDefaultValue = false)]
|
|
public IList<StepResult> StepResults { get; set; }
|
|
}
|
|
} |