1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-07-12 22:21:40 +02:00

Let pipeline-compiler export step types (#1958)

This commit is contained in:
6543
2023-07-11 15:53:05 +02:00
committed by GitHub
parent fe7eb64bf9
commit b54f6ebad6
13 changed files with 100 additions and 32 deletions

View File

@ -316,6 +316,7 @@ func SetPipelineStepsOnPipeline(pipeline *model.Pipeline, pipelineItems []*Item)
PPID: item.Workflow.PID,
State: model.StatusPending,
Failure: step.Failure,
Type: model.StepType(step.Type),
}
if item.Workflow.State == model.StatusSkipped {
step.State = model.StatusSkipped