Simplify Android build: use default command for APK and AAB

tauri android build creates both APK and AAB by default.
This commit is contained in:
2025-11-01 16:44:32 +01:00
parent 8298d807f3
commit 471baec284
2 changed files with 4 additions and 10 deletions

View File

@ -216,11 +216,8 @@ jobs:
echo "No keystore configured, building unsigned APK"
fi
- name: Build Android APK (unsigned if no keystore)
run: pnpm tauri android build --apk
- name: Build Android AAB (unsigned if no keystore)
run: pnpm tauri android build --aab
- name: Build Android APK and AAB (unsigned if no keystore)
run: pnpm tauri android build
- name: Upload Android artifacts
uses: actions/upload-artifact@v4

View File

@ -213,11 +213,8 @@ jobs:
echo "ANDROID_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }}" >> $GITHUB_ENV
echo "ANDROID_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}" >> $GITHUB_ENV
- name: Build Android APK (signed)
run: pnpm tauri android build --apk
- name: Build Android AAB (signed)
run: pnpm tauri android build --aab
- name: Build Android APK and AAB (signed)
run: pnpm tauri android build
- name: Upload to Release
uses: softprops/action-gh-release@v2