GitHub Actions Runner

This commit is contained in:
Tingluo Huang
2019-10-10 00:52:42 -04:00
commit c8afc84840
1255 changed files with 198670 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
using System.Collections.Generic;
using System.Runtime.Serialization;
using GitHub.Services.WebApi;
namespace GitHub.Build.WebApi
{
/// <summary>
/// Represents a build process supported by the build definition designer.
/// </summary>
[DataContract]
public class DesignerProcess : BuildProcess
{
public DesignerProcess()
:this(null)
{
}
internal DesignerProcess(
ISecuredObject securedObject)
: base(ProcessType.Designer, securedObject)
{
}
/// <summary>
/// The list of phases.
/// </summary>
public List<Phase> Phases
{
get
{
if (m_phases == null)
{
m_phases = new List<Phase>();
}
return m_phases;
}
}
[DataMember(Name = "Phases", EmitDefaultValue = false)]
private List<Phase> m_phases;
/// <summary>
/// The target for the build process.
/// </summary>
[DataMember(EmitDefaultValue = false)]
public DesignerProcessTarget Target { get; set; }
}
}