Skip to content

Commit

Permalink
Update android-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lindongchen authored Oct 9, 2024
1 parent 59e879c commit dc5c36a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
export ANDROID_HOME='/usr/local/lib/android/sdk'
ls $ANDROID_HOME
ls $ANDROID_HOME/build-tools
$ANDROID_HOME/build-tools/31.0.0/zipalign -v 4 ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned-aligned.apk
$ANDROID_HOME/build-tools/31.0.0/zipalign -v 4 ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/ztm-app-v${{ vars.APP_VERSION }}-android.apk
- name: Decode keystore
run: |
echo ${{ secrets.KEYSTORE_BASE64 }} | base64 --decode > ./my-release-key.jks
Expand All @@ -76,7 +76,7 @@ jobs:
--key-pass env:KEY_PASSWORD \
--ks-key-alias "${{ secrets.KEY_ALIAS }}" \
--out ./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/ztm.apk \
./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned-aligned.apk
./gui/src-tauri/gen/android/app/build/outputs/apk/universal/release/ztm-app-v${{ vars.APP_VERSION }}-android.apk
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
Expand Down

0 comments on commit dc5c36a

Please sign in to comment.