Kotlin Library for GitHub Actions
Add JitPack as a repository:
repositories {
// other repositories first
maven { url 'https://jitpack.io' }
}
And then add the dependency:
dependencies {
implementation 'com.github.Starlight220:ActionsKtLib:v1.01'
}
- rnett/kotlin-js-action is a very similar library, running on Kotlin/JS to wrap the actions/toolkit JS packages. In comparison, ActionsKtLib runs on Kotlin/JVM, which is a more stable platform and allows native access to the Java standard library.
- krzema12/github-actions-kotlin-dsl provides a Kotlin DSL for writing workflows; ActionsKtLib provides a library to write the actions themselves.