Skip to content

Commit 874768d

Browse files
authored
feat(dsl): set name for condition checking step (#1411)
1 parent 5f5fffe commit 874768d

File tree

1 file changed

+1
-1
lines changed
  • github-workflows-kt/src/main/kotlin/io/github/typesafegithub/workflows/dsl

1 file changed

+1
-1
lines changed

github-workflows-kt/src/main/kotlin/io/github/typesafegithub/workflows/dsl/JobBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public class JobBuilder<OUTPUT : JobOutputs>(
127127

128128
val conditionCheckingStep =
129129
ifKotlin?.let {
130-
run {
130+
run(name = "Evaluating condition for '${name ?: "step-${job.steps.size + 1}"}'") {
131131
outputs[evaluationResultOutput] = ifKotlin().toString()
132132
}
133133
}

0 commit comments

Comments
 (0)