mirror of
https://github.com/actions/runner.git
synced 2025-12-24 18:37:26 +08:00
@@ -22,7 +22,7 @@ namespace GitHub.DistributedTask.Pipelines
|
||||
[DataContract]
|
||||
[KnownType(typeof(ContainerRegistryReference))]
|
||||
[KnownType(typeof(RepositoryPathReference))]
|
||||
[KnownType(typeof(ScriptReference))]
|
||||
[KnownType(typeof(ScriptReference))]
|
||||
[JsonConverter(typeof(ActionStepDefinitionReferenceConverter))]
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public abstract class ActionStepDefinitionReference
|
||||
|
||||
@@ -13,8 +13,8 @@ namespace GitHub.DistributedTask.Pipelines.ContextData
|
||||
}
|
||||
|
||||
public static PipelineContextData ToPipelineContextData(
|
||||
this JToken value,
|
||||
Int32 depth,
|
||||
this JToken value,
|
||||
Int32 depth,
|
||||
Int32 maxDepth)
|
||||
{
|
||||
if (depth < maxDepth)
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
public const String BooleanStrategyContext = "boolean-strategy-context";
|
||||
public const String CancelTimeoutMinutes = "cancel-timeout-minutes";
|
||||
public const String Cancelled = "cancelled";
|
||||
public const String Clean= "clean";
|
||||
public const String Clean = "clean";
|
||||
public const String Container = "container";
|
||||
public const String ContinueOnError = "continue-on-error";
|
||||
public const String Credentials = "credentials";
|
||||
|
||||
@@ -569,4 +569,4 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
private readonly Parser m_parser;
|
||||
private ParsingEvent m_current;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace GitHub.DistributedTask.Pipelines
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
s = name.Expression;
|
||||
if (!String.IsNullOrEmpty(s))
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using GitHub.Services.WebApi;
|
||||
using Newtonsoft.Json;
|
||||
@@ -36,4 +36,4 @@ namespace GitHub.DistributedTask.Pipelines
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user