[Bug] Kotlin-based steps don't work if there's more than one workflow in Kotlin script #1811
Open
1 of 3 tasks
Labels
bug
Something isn't working
Component
Action
Create a script with more than one workflow, emitting more than one YAML, to easily share code, and have a Kotlin-based logic step, e.g.:
Expected
The correct piece of logic is called.
Actual
https://github.com/typesafegithub/github-actions-typing/actions/runs/13130825653/job/36635476372
Likely because in the workflow that has a job called
release
, all works fine, but the other workflow doesn't have such a job. If it had it, it would call more than one step.Likely fails in
github-workflows-kt/github-workflows-kt/src/main/kotlin/io/github/typesafegithub/workflows/yaml/ToYaml.kt
Line 43 in c169393
Workaround, if exists
Unknown yet.
Version
3.2.0, but likely all that have the experimental Kotlin-based step are affected.
The text was updated successfully, but these errors were encountered: