Skip to content

Commit

Permalink
fix base64
Browse files Browse the repository at this point in the history
  • Loading branch information
OldGodShen committed Jun 5, 2024
1 parent 1b1eff7 commit a7d463b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,12 @@ jobs:
KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
shell: cmd
shell: base
run: |
# Save the keystore file from secrets
echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > release.keystore
# Sign the APK
apksigner sign --ks release.keystore --ks-key-alias $KEY_ALIAS --ks-pass pass:$KEYSTORE_PASSWORD --out src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-signed.apk src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-unsigned.apk
# Align the APK
zipalign -v 4 src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-signed.apk src-tauri/gen/android/app/build/outputs/apk/universal/release/app-universal-release-aligned.apk
- name: Extract version from package.json
Expand Down

0 comments on commit a7d463b

Please sign in to comment.