File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1212### Step 1 : Create task on build.gradle.kts
1313- Create Task and Register to build.gradle.kts like below
1414- Sample Task Name : runMainKotlin
15+ - Detail [ Click Here] ( https://github.com/amirisback/compile-run-kotlin-java-using-github-action/blob/master/build.gradle.kts )
1516``` kts
1617tasks.register (" runMainKotlin" , JavaExec ::class .java) {
1718 description = " Compile and Run Main Kotlin"
@@ -26,13 +27,14 @@ tasks.register ("runMainKotlin", JavaExec::class.java) {
2627### Step 2 : Add to CI.yml
2728- Call the function that has been created in the build.gradle.kts file
2829- Sample Function : runMainKotlin
30+ - Detail [ Click Here] ( https://github.com/amirisback/compile-run-kotlin-java-using-github-action/blob/master/.github/workflows/ci.yml )
2931``` yml
3032# Run main using gradle
3133- name : Run Main
3234 run : ./gradlew runMainKotlin
3335` ` `
3436
35- ## Step 3 : Run On Github Action
37+ ### Step 3 : Run On Github Action
3638- Open Github Action On Github
3739
3840
You can’t perform that action at this time.
0 commit comments