github workflows kt v1.9.0 released!
The highlight of this release is an experimental implementation of being able to specify steps logic in Kotlin 🎉 Thanks to this, this library is no longer just a more convenient way to express the workflow instead of YAML, but you can actually code the whole thing, including the steps, in Kotlin.
As mentioned, it's experimental and is missing some useful features like being able to access various scopes or setting step output in a type-safe way. The performance is also not great since the script compilation and JVM warmup penalty is there for the first step in a job and for each step, respectively. Use with care (for now).
I'm open to your feedback! Here's a little real-life demo:
click