build: add variants

This commit is contained in:
rhunk
2023-05-18 21:00:32 +02:00
parent a70ef74130
commit ccdf5c6318
2 changed files with 78 additions and 11 deletions

View File

@@ -23,11 +23,12 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Clean Gradle Cache
run: ./gradlew clean
- name: Build with Gradle
run: ./gradlew build
- name: Upload debug artifact
run: ./gradlew assembleRelease -PtargetApkUrl=${{ secrets.TARGET_APK_URL }}
- name: Upload debug artifacts
uses: actions/upload-artifact@v3.1.2
with:
name: app-debug
path: app/build/outputs/apk/debug/app-debug.apk
path: app/build/outputs/apk/**/release/*.apk