File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636 - name : Build Debug APK
3737 run : ./gradlew assembleDebug --stacktrace --no-daemon
38-
39- - name : Build Release APK (if on main branch)
40- if : github.ref == 'refs/heads/main' && github.event_name == 'push'
41- run : ./gradlew assembleRelease --stacktrace --no-daemon
42- env :
43- KEYSTORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
44- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
4538
4639 - name : Upload Debug APK
4740 uses : actions/upload-artifact@v4
5043 path : app/build/outputs/apk/debug/app-debug.apk
5144 retention-days : 30
5245
53- - name : Upload Release APK (if on main branch)
54- if : github.ref == 'refs/heads/main' && github.event_name == 'push'
55- uses : actions/upload-artifact@v4
56- with :
57- name : patchwork-release-${{ github.sha }}
58- path : app/build/outputs/apk/release/app-release.apk
59- retention-days : 90
60-
6146 - name : Comment on PR with APK
6247 if : github.event_name == 'pull_request'
6348 uses : actions/github-script@v7
You can’t perform that action at this time.
0 commit comments