Skip to content

Commit

Permalink
Update build-f-droid-apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Feb 16, 2024
1 parent 2b4d160 commit cc38467
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build-f-droid-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,13 @@ jobs:
# - name: Remove prorietary bits (for fix f-droid)
# run: npx zx scripts/fit-f-droid.mjs

- name: Build apk & aab
- name: Build APK
run: |
cd android
cat /home/runner/work/TidGi-Mobile/TidGi-Mobile/android/app/src/main/java/ren/onetwo/tidgi/mobile/MainActivity.kt
./gradlew clean
./gradlew -v
./gradlew assembleRelease --no-daemon --warning-mode all
./gradlew bundleRelease --no-daemon --warning-mode all
## sign generated apk (not signing aab, which will be signed by store)
## sign generated apk
- name: Sign APK
id: sign_app_apk
uses: r0adkll/sign-android-release@v1
Expand All @@ -112,7 +109,13 @@ jobs:
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOLS_VERSION }}

- name: Sign APK
- name: Build AAB
run: |
cd android
./gradlew clean
./gradlew bundleRelease --no-daemon --warning-mode all
- name: Sign AAB
id: sign_app_aab
uses: r0adkll/sign-android-release@v1
with:
Expand Down

0 comments on commit cc38467

Please sign in to comment.