Skip to content
cpu

GitHub Action

Pkl Kotlin

v2.0.0 Latest version

Pkl Kotlin

cpu

Pkl Kotlin

Generates Koltin source code for a Pkl model. Based on version 0.25.2 of the Pkl tool/lang

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Pkl Kotlin

uses: emilymclean/[email protected]

Learn more about this action in emilymclean/pkl-kotlin-action

Choose a version

pkl-kotlin-action

Generates Kotlin source code for a Pkl model.

Inputs

Input Required Description Default
input-file The data pkl file process
output-folder Where the resulting binding will be written to.
pkl-version The pkl version to use 0.26.3

Example usage

uses: emilymclean/pkl-kotlin-action@v2
with:
  input-file: data.pkl
  output-folder: /generated