File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 12
12
### Step 1 : Create task on build.gradle.kts
13
13
- Create Task and Register to build.gradle.kts like below
14
14
- Sample Task Name : runMainKotlin
15
+ - Detail [ Click Here] ( https://github.com/amirisback/compile-run-kotlin-java-using-github-action/blob/master/build.gradle.kts )
15
16
``` kts
16
17
tasks.register (" runMainKotlin" , JavaExec ::class .java) {
17
18
description = " Compile and Run Main Kotlin"
@@ -26,13 +27,14 @@ tasks.register ("runMainKotlin", JavaExec::class.java) {
26
27
### Step 2 : Add to CI.yml
27
28
- Call the function that has been created in the build.gradle.kts file
28
29
- Sample Function : runMainKotlin
30
+ - Detail [ Click Here] ( https://github.com/amirisback/compile-run-kotlin-java-using-github-action/blob/master/.github/workflows/ci.yml )
29
31
``` yml
30
32
# Run main using gradle
31
33
- name : Run Main
32
34
run : ./gradlew runMainKotlin
33
35
` ` `
34
36
35
- ## Step 3 : Run On Github Action
37
+ ### Step 3 : Run On Github Action
36
38
- Open Github Action On Github
37
39
38
40

You can’t perform that action at this time.
0 commit comments