File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change 3333 name : app-debug
3434 path : app/build/outputs/apk/debug/*.apk
3535 retention-days : 7
36-
37- release :
38- needs : build
39- runs-on : ubuntu-latest
40- if : github.ref == 'refs/heads/main' && github.event_name == 'push'
41-
42- steps :
43- - name : Checkout code
44- uses : actions/checkout@v4
45-
46- - name : Set up JDK 17
47- uses : actions/setup-java@v4
48- with :
49- java-version : ' 17'
50- distribution : ' temurin'
51- cache : gradle
52-
53- - name : Grant execute permission for gradlew
54- run : chmod +x gradlew
55-
56- - name : Build Release APK
57- run : ./gradlew assembleRelease --no-daemon
58-
59- - name : Upload Release APK
60- uses : actions/upload-artifact@v4
61- with :
62- name : app-release
63- path : app/build/outputs/apk/release/*.apk
64- retention-days : 30
You can’t perform that action at this time.
0 commit comments