File tree 2 files changed +5
-22
lines changed
2 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
16
16
# Set Current Date As Env Variable
17
17
- name : Set current date as env variable
22
22
run : echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
23
23
24
24
- name : Set Up JDK
25
- uses : actions/setup-java@v3
25
+ uses : actions/setup-java@v4
26
26
with :
27
27
distribution : ' zulu' # See 'Supported distributions' for available options
28
28
java-version : ' 17'
39
39
- name : Build gradle project
40
40
run : ./gradlew build
41
41
42
- # # Run Build API
43
- # - name: Run Main
44
- # run: ./gradlew run-build-api
45
- #
46
- # - name: Sync Repository
47
- # run: |
48
- # git config user.name 'amirisback'
49
- # git config user.email '[email protected] '
50
- # git pull
51
- # git commit -am "Update Server API"
52
- # git push
42
+ # Run Build API
43
+ - name : Run Main
44
+ run : ./gradlew runMainKotlin
Original file line number Diff line number Diff line change 1
1
package io.github.amirisback
2
2
3
- // TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
4
- // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
5
3
fun main () {
6
4
val name = " Kotlin"
7
- // TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
8
- // to see how IntelliJ IDEA suggests fixing it.
9
5
println (" Hello, $name !" )
10
6
11
- for (i in 1 .. 5 ) {
12
- // TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
13
- // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
14
- println (" i = $i " )
15
- }
16
7
}
You can’t perform that action at this time.
0 commit comments