Skip to content

Commit de2cbad

Browse files
committed
Fix CI build: Remove release APK build, only build debug APKs
1 parent d1d463a commit de2cbad

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ jobs:
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
@@ -50,14 +43,6 @@ jobs:
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

0 commit comments

Comments
 (0)