-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 1.17 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Kscript CI for Unit Tests'
description: 'Run the unit tests in a kscript project'
author: 'Andrew Steinmetz'
branding:
icon: 'check-circle'
color: 'green'
inputs:
kts-file: # id of input
description: 'the path to the kts file in your repository i.e. hello-world.kts if at the root of the project'
required: true
kscript-version:
description: version of kscript to be used in the action https://sdkman.io/sdks#kscript
required: true
default: '3.1.0'
java-version:
description: version of java to be used in the action https://sdkman.io/jdks
required: true
default: '11.0.10.hs-adpt'
kotlin-version:
description: version of kotlin to be used in the action https://sdkman.io/sdks#kotlin
required: true
default: '1.4.31'
fail-on-failure:
description: if you are using a unit test reporter and want the results to still be generated and continue with the action
required: true
default: 'true'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.kts-file }}
- ${{ inputs.kscript-version }}
- ${{ inputs.java-version }}
- ${{ inputs.kotlin-version }}
- ${{ inputs.fail-on-failure }}