(data *WorkflowData, hasActionTag bool, frontmatterActionTag string)
| 171 | } |
| 172 | |
| 173 | func (c *Compiler) resolveSetupReference(data *WorkflowData, hasActionTag bool, frontmatterActionTag string) string { |
| 174 | var resolver SHAResolver |
| 175 | if data != nil && data.ActionResolver != nil { |
| 176 | resolver = data.ActionResolver |
| 177 | } |
| 178 | if c.actionTag != "" { |
| 179 | return resolveSetupActionRef(c.ctx, c.actionMode, c.version, c.actionTag, resolver, c.effectiveActionsRepo()) |
| 180 | } |
| 181 | if !hasActionTag { |
| 182 | return resolveSetupActionRef(c.ctx, c.actionMode, c.version, "", resolver, c.effectiveActionsRepo()) |
| 183 | } |
| 184 | return resolveSetupActionRef(c.ctx, ActionModeAction, c.version, frontmatterActionTag, resolver, c.effectiveActionsRepo()) |
| 185 | } |
| 186 | |
| 187 | func (c *Compiler) resolveReleaseActionReference(localActionPath string, data *WorkflowData) string { |
| 188 | remoteRef := c.convertToRemoteActionRef(localActionPath, data) |
no test coverage detected