File tree Expand file tree Collapse file tree 3 files changed +73
-103
lines changed
Expand file tree Collapse file tree 3 files changed +73
-103
lines changed Original file line number Diff line number Diff line change 99 runs-on : self-hosted
1010
1111 steps :
12- - name : Checkout repository
13- uses : actions/checkout@v4
14-
15- - name : Set up JDK 17
16- uses : actions/setup-java@v4
17- with :
18- java-version : ' 17'
19- distribution : ' temurin'
20-
21- - name : Cache Gradle packages
22- uses : actions/cache@v4
23- with :
24- path : |
25- ~/.gradle/caches
26- ~/.gradle/wrapper
27- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', '**/*.gradle', '**/gradle-wrapper.properties') }}
28- restore-keys : |
29- ${{ runner.os }}-gradle-
30-
31- - name : Grant execute permission for gradlew
32- run : chmod +x gradlew
33-
34- - name : Build ARM64 Debug APK
35- run : ./gradlew :app:assembleArm64Debug
36-
37- - name : Upload ARM64 Debug APK
38- uses : actions/upload-artifact@v4
39- with :
40- name : arm64-debug-apk
41- path : app/build/outputs/apk/arm64/debug/app-arm64-debug.apk
42- retention-days : 30
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Set up JDK 17
16+ uses : actions/setup-java@v4
17+ with :
18+ java-version : ' 17'
19+ distribution : ' temurin'
20+
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+
24+ - name : Build ARM64 Debug APK
25+ run : ./gradlew :app:assembleArm64Debug
26+
27+ - name : Upload ARM64 Debug APK
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : arm64-debug-apk
31+ path : app/build/outputs/apk/arm64/debug/app-arm64-debug.apk
32+ retention-days : 30
Original file line number Diff line number Diff line change 99 runs-on : self-hosted
1010
1111 steps :
12- - name : Checkout repository
13- uses : actions/checkout@v4
14-
15- - name : Set up JDK 17
16- uses : actions/setup-java@v4
17- with :
18- java-version : ' 17'
19- distribution : ' temurin'
20-
21- - name : Cache Gradle packages
22- uses : actions/cache@v4
23- with :
24- path : |
25- ~/.gradle/caches
26- ~/.gradle/wrapper
27- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', '**/*.gradle', '**/gradle-wrapper.properties') }}
28- restore-keys : |
29- ${{ runner.os }}-gradle-
30-
31- - name : Grant execute permission for gradlew
32- run : chmod +x gradlew
33-
34- - name : Build Linux Shadow Jar
35- run : ./gradlew :linux:shadowJar
36-
37- - name : Upload ARM64 Debug APK
38- uses : actions/upload-artifact@v4
39- with :
40- name : linux-shadow-jar
41- path : linux/build/libs/linux-shadow.jar
42- retention-days : 30
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Set up JDK 17
16+ uses : actions/setup-java@v4
17+ with :
18+ java-version : ' 17'
19+ distribution : ' temurin'
20+
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+
24+ - name : Build Linux Shadow Jar
25+ run : ./gradlew :linux:shadowJar
26+
27+ - name : Upload ARM64 Debug APK
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : linux-shadow-jar
31+ path : linux/build/libs/linux-shadow.jar
32+ retention-days : 30
Original file line number Diff line number Diff line change 99 runs-on : self-hosted
1010
1111 steps :
12- - name : Checkout repository
13- uses : actions/checkout@v4
14-
15- - name : Set up JDK 17
16- uses : actions/setup-java@v4
17- with :
18- java-version : ' 17'
19- distribution : ' temurin'
20-
21- - name : Cache Gradle packages
22- uses : actions/cache@v4
23- with :
24- path : |
25- ~/.gradle/caches
26- ~/.gradle/wrapper
27- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts', '**/*.gradle', '**/gradle-wrapper.properties') }}
28- restore-keys : |
29- ${{ runner.os }}-gradle-
30-
31- - name : Grant execute permission for gradlew
32- run : chmod +x gradlew
33-
34- - name : Run unit tests
35- run : ./gradlew test
36-
37- - name : Run lint checks
38- run : ./gradlew lint
39-
40- - name : Run all verification checks
41- run : ./gradlew check
42-
43- - name : Upload test results
44- uses : actions/upload-artifact@v4
45- if : always()
46- with :
47- name : test-results
48- path : |
49- **/build/reports/tests/**
50- **/build/reports/lint-results*.html
51- **/*.sarif
52- retention-days : 30
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Set up JDK 17
16+ uses : actions/setup-java@v4
17+ with :
18+ java-version : ' 17'
19+ distribution : ' temurin'
20+
21+ - name : Grant execute permission for gradlew
22+ run : chmod +x gradlew
23+
24+ - name : Run unit tests
25+ run : ./gradlew test
26+
27+ - name : Run lint checks
28+ run : ./gradlew lint
29+
30+ - name : Run all verification checks
31+ run : ./gradlew check
32+
33+ - name : Upload test results
34+ uses : actions/upload-artifact@v4
35+ if : always()
36+ with :
37+ name : test-results
38+ path : |
39+ **/build/reports/tests/**
40+ **/build/reports/lint-results*.html
41+ **/*.sarif
42+ retention-days : 30
You can’t perform that action at this time.
0 commit comments