mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 22:20:51 +01:00
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:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -216,11 +216,8 @@ jobs:
|
|||||||
echo "No keystore configured, building unsigned APK"
|
echo "No keystore configured, building unsigned APK"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build Android APK (unsigned if no keystore)
|
- name: Build Android APK and AAB (unsigned if no keystore)
|
||||||
run: pnpm tauri android build --apk
|
run: pnpm tauri android build
|
||||||
|
|
||||||
- name: Build Android AAB (unsigned if no keystore)
|
|
||||||
run: pnpm tauri android build --aab
|
|
||||||
|
|
||||||
- name: Upload Android artifacts
|
- name: Upload Android artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -213,11 +213,8 @@ jobs:
|
|||||||
echo "ANDROID_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }}" >> $GITHUB_ENV
|
echo "ANDROID_KEY_ALIAS=${{ secrets.ANDROID_KEY_ALIAS }}" >> $GITHUB_ENV
|
||||||
echo "ANDROID_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}" >> $GITHUB_ENV
|
echo "ANDROID_KEY_PASSWORD=${{ secrets.ANDROID_KEY_PASSWORD }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build Android APK (signed)
|
- name: Build Android APK and AAB (signed)
|
||||||
run: pnpm tauri android build --apk
|
run: pnpm tauri android build
|
||||||
|
|
||||||
- name: Build Android AAB (signed)
|
|
||||||
run: pnpm tauri android build --aab
|
|
||||||
|
|
||||||
- name: Upload to Release
|
- name: Upload to Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user