:github-workflows-kt: <v1.15.0 released!> Kudos t...
# github-workflows-kt
p
github workflows kt v1.15.0 released! Kudos to @Nikky for contributing several new features! The one that required most effort (and still kinda experimental, the
action-updates-checker
) will likely get its own page in the docs once it's ready to be properly announced
🎉 1
the one I'm excited about as well is allow specifying Kotlin step's condition in Kotlin - it's still kinda experimental and the performance is pain, but you're already able to avoid some string-based GitHub expressions in ``if``/`condition` for steps, and instead write conditions like
ifKotlin = { github.ref == "refs/heads/main"}
- inside the curly braces, you can put any Kotlin logic you want.
github.ref
doesn't return the placeholder here like inside
expr { }
, it's the actual value deserialized from the
github
context, available for you to process with any Kotlin logic you wish. Pretty powerful, beware to not abuse this power!