File tree Expand file tree Collapse file tree 2 files changed +5
-22
lines changed Expand file tree Collapse file tree 2 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515
1616 # Set Current Date As Env Variable
1717 - name : Set current date as env variable
2222 run : echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV
2323
2424 - name : Set Up JDK
25- uses : actions/setup-java@v3
25+ uses : actions/setup-java@v4
2626 with :
2727 distribution : ' zulu' # See 'Supported distributions' for available options
2828 java-version : ' 17'
3939 - name : Build gradle project
4040 run : ./gradlew build
4141
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 11package io.github.amirisback
22
3- // TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
4- // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
53fun main () {
64 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.
95 println (" Hello, $name !" )
106
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- }
167}
You can’t perform that action at this time.
0 commit comments