mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Need to explictly use ActionStep type since we need the .Inputs attribute which is only found in the ActionStep not IStep
This commit is contained in:
@@ -17,13 +17,13 @@ namespace GitHub.DistributedTask.Pipelines.ObjectTemplating
|
||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public static class PipelineTemplateConverter
|
||||
{
|
||||
public static List<Step> ConvertToSteps(
|
||||
public static List<ActionStep> ConvertToSteps(
|
||||
TemplateContext context,
|
||||
TemplateToken steps)
|
||||
{
|
||||
var stepsSequence = steps.AssertSequence($"job {PipelineTemplateConstants.Steps}");
|
||||
|
||||
var result = new List<Step>();
|
||||
var result = new List<ActionStep>();
|
||||
var nameBuilder = new ReferenceNameBuilder();
|
||||
foreach (var stepsItem in stepsSequence)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user