github-workflows-kt
github-workflows-kt copied to clipboard
Make workflow definition declarative
Currently the user needs to use either .writeToFile(...)
or .toYaml(...)
. This API is clear, but there are several problems:
- hard to reuse the workflow if we wanted to call pieces of logic defined in the workflow during runtime
- not clear what arguments go into the workflow builder, and what into these functions
- easy to forget about calling one of the functions