Skip to content

Commit

Permalink
Use maybeCopyToActionDir for model.ActionRunsUsingComposite
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Apr 4, 2021
1 parent 1a050c2 commit af686b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/runner/step_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ func (sc *StepContext) runAction(actionDir string, actionPath string) common.Exe
stepContainer.Remove().IfBool(!rc.Config.ReuseContainers),
)(ctx)
case model.ActionRunsUsingComposite:
err := maybeCopyToActionDir()
if err != nil {
return err
}
for outputName, output := range action.Outputs {
re := regexp.MustCompile(`\${{ steps\.([a-zA-Z_][a-zA-Z0-9_-]+)\.outputs\.([a-zA-Z_][a-zA-Z0-9_-]+) }}`)
matches := re.FindStringSubmatch(output.Value)
Expand Down

0 comments on commit af686b8

Please sign in to comment.