github-workflows-kt icon indicating copy to clipboard operation
github-workflows-kt copied to clipboard

Make workflow definition declarative

Open krzema12 opened this issue 6 months ago • 0 comments

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

krzema12 avatar Dec 25 '23 14:12 krzema12