fix: set composite outputs on failure (#945)
fix: conclusion and outcome after error with failure condition fix: continue-on-error doesn't work correctly for composite actions
This commit is contained in:
@@ -722,9 +722,6 @@ func (sc *StepContext) execAsComposite(ctx context.Context, step *model.Step, _
|
||||
compositerc.Inputs = inputs
|
||||
compositerc.ExprEval = compositerc.NewExpressionEvaluator()
|
||||
err = compositerc.CompositeExecutor()(ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Map outputs to parent rc
|
||||
eval = (&StepContext{
|
||||
@@ -744,7 +741,7 @@ func (sc *StepContext) execAsComposite(ctx context.Context, step *model.Step, _
|
||||
backup.Env[k] = v
|
||||
}
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
func (sc *StepContext) populateEnvsFromInput(action *model.Action, rc *RunContext) {
|
||||
|
||||
Reference in New Issue
Block a user