File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [cicd]
88
99jobs :
10- build-and-test :
11- name : Build and Test
12- runs-on : ubuntu-latest
13-
14- steps :
15- - name : Checkout code
16- uses : actions/checkout@v4
17-
18- - name : Set up JDK
19- uses : actions/setup-java@v4
20- with :
21- java-version : " 17"
22- distribution : " temurin"
23- cache : " gradle"
24-
25- - name : Grant execute permission for gradlew
26- run : chmod +x gradlew
27-
28- - name : Format Kotlin code with ktfmt
29- run : ./gradlew ktfmtFormat
30-
31- - name : Build with Gradle
32- run : ./gradlew build
33-
34- - name : Run tests
35- run : ./gradlew test
36-
37- - name : Upload test results
38- uses : actions/upload-artifact@v4
39- if : always()
40- with :
41- name : test-results
42- path : build/reports/tests/test
10+
4311
4412 create-release :
4513 name : Create Release
6028 - name : Grant execute permission for gradlew
6129 run : chmod +x gradlew
6230
31+ - name : Format Kotlin code with ktfmt
32+ run : ./gradlew ktfmtFormat
33+
6334 - name : Build with Gradle
6435 run : ./gradlew build
6536
You can’t perform that action at this time.
0 commit comments