File tree Expand file tree Collapse file tree 1 file changed +3
-42
lines changed
Expand file tree Collapse file tree 1 file changed +3
-42
lines changed Original file line number Diff line number Diff line change @@ -27,54 +27,15 @@ jobs:
2727 - name : Build Debug APK
2828 run : ./gradlew assembleDebug --no-daemon
2929
30- - name : Run Unit Tests
31- run : ./gradlew test --no-daemon
32-
3330 - name : Upload Debug APK
3431 uses : actions/upload-artifact@v4
3532 with :
3633 name : app-debug
37- path : app/build/outputs/apk/debug/app-debug.apk
38- retention-days : 7
39-
40- - name : Upload Test Results
41- uses : actions/upload-artifact@v4
42- if : always()
43- with :
44- name : test-results
45- path : app/build/reports/tests/
46- retention-days : 7
47-
48- lint :
49- runs-on : ubuntu-latest
50-
51- steps :
52- - name : Checkout code
53- uses : actions/checkout@v4
54-
55- - name : Set up JDK 17
56- uses : actions/setup-java@v4
57- with :
58- java-version : ' 17'
59- distribution : ' temurin'
60- cache : gradle
61-
62- - name : Grant execute permission for gradlew
63- run : chmod +x gradlew
64-
65- - name : Run Lint
66- run : ./gradlew lint --no-daemon
67-
68- - name : Upload Lint Results
69- uses : actions/upload-artifact@v4
70- if : always()
71- with :
72- name : lint-results
73- path : app/build/reports/lint-results*.html
34+ path : app/build/outputs/apk/debug/*.apk
7435 retention-days : 7
7536
7637 release :
77- needs : [ build, lint]
38+ needs : build
7839 runs-on : ubuntu-latest
7940 if : github.ref == 'refs/heads/main' && github.event_name == 'push'
8041
9960 uses : actions/upload-artifact@v4
10061 with :
10162 name : app-release
102- path : app/build/outputs/apk/release/app-release-unsigned .apk
63+ path : app/build/outputs/apk/release/* .apk
10364 retention-days : 30
You can’t perform that action at this time.
0 commit comments