Kotlin
How json2vars-setter handles Kotlin, and how the example workflow provisions it.
json2vars-setter integration
| Item | Value |
|---|---|
| Matrix JSON key | versions.kotlin |
| Action output | versions_kotlin |
| Dynamic-update strategy input | kotlin-strategy (stable / latest / both) |
| Version source | see Version Sources |
Supported runners
The example matrix runs on Ubuntu / macOS:
ubuntu-latest, macos-latest
Any GitHub-hosted runner the setup action supports also works - the OS list is just the os array in your matrix JSON.
Supported versions
Example matrix (what the example workflow runs):
Latest values tracked by the dynamic-update tooling (auto-refreshed from the release APIs into the version cache):
| Field | Version |
|---|---|
stable |
2.3.21 |
latest |
2.4.0 |
Cache last updated: 2026-06-24T12:28:46.782780.
Setup action (example workflow)
kotlin_test.yml provisions Kotlin with the matrix value json2vars-setter produced:
Note: There is no official Kotlin setup action, so the workflow downloads the exact
kotlin-compiler-<version>.zipfrom the matching JetBrains release, verifies its published SHA-256, and addskotlinctoPATH.
References
- Example project:
examples/kotlin/ - Example workflow:
.github/workflows/kotlin_test.yml - Matrix JSON:
examples/kotlin/kotlin_project_matrix.json