lib/pipedream/dsl/pipeline/codebuild.rb in pipedream-0.4.4 vs lib/pipedream/dsl/pipeline/codebuild.rb in pipedream-0.4.5
- old
+ new
@@ -15,13 +15,13 @@
input_artifacts: [name: "SourceArtifact"],
}
actions = projects.map do |item|
if item.is_a?(String)
- name = item.underscore.camelize
+ name = item
default.deep_merge(
name: name,
- configuration: { project_name: name },
+ configuration: { project_name: item },
)
else # Hash
# With the hash notation, user needs to set: name and project_name
#
# codebuild(name: "action-name", project_name: "codebuild-project-names")