Skip to content

Commit

Permalink
android ci
Browse files Browse the repository at this point in the history
  • Loading branch information
shocknet-justin committed Sep 12, 2024
1 parent 4abf3f7 commit 575ca7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
- name: Set up Android SDK
uses: android-actions/setup-android@v3
with:
packages: 'platform-tools;build-tools;33.0.0'
packages: |
platform-tools
build-tools;33.0.0
- name: Decode Keystore
run: |
Expand All @@ -85,7 +87,7 @@ jobs:
- name: Sign APK
run: |
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore -storepass ${{ secrets.ANDROID_KEYSTORE_PASSWORD }} -keypass ${{ secrets.ANDROID_KEY_PASSWORD }} android/app/build/outputs/apk/release/app-release-unsigned.apk ${{ secrets.ANDROID_KEY_ALIAS }}
zipalign -v 4 android/app/build/outputs/apk/release/app-release-unsigned.apk android/app/build/outputs/apk/release/${{ env.APP_NAME }}-${{ env.VERSION }}.apk
$ANDROID_SDK_ROOT/build-tools/33.0.0/zipalign -v 4 android/app/build/outputs/apk/release/app-release-unsigned.apk android/app/build/outputs/apk/release/${{ env.APP_NAME }}-${{ env.VERSION }}.apk
shell: bash

- name: Verify APK
Expand Down

0 comments on commit 575ca7d

Please sign in to comment.