mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
24 lines
646 B
C#
24 lines
646 B
C#
using System.Runtime.Serialization;
|
|
using GitHub.DistributedTask.ObjectTemplating.Tokens;
|
|
|
|
namespace GitHub.DistributedTask.WebApi
|
|
{
|
|
/// <summary>
|
|
/// Information about an environment parsed from YML with evaluated name, URL will be evaluated on runner
|
|
/// </summary>
|
|
[DataContract]
|
|
public class ActionsEnvironmentReference
|
|
{
|
|
public ActionsEnvironmentReference(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public string Name { get; set; }
|
|
|
|
[DataMember(EmitDefaultValue = false)]
|
|
public TemplateToken Url { get; set; }
|
|
}
|
|
}
|