This commit is contained in:
@@ -41,15 +41,20 @@ jobs:
|
|||||||
- name: Generate localizations
|
- name: Generate localizations
|
||||||
run: flutter gen-l10n
|
run: flutter gen-l10n
|
||||||
|
|
||||||
- name: Build release APKs
|
- name: Build release APKs (split per ABI)
|
||||||
run: flutter build apk --release --split-per-abi
|
run: flutter build apk --release --split-per-abi
|
||||||
|
|
||||||
|
- name: Build universal APK
|
||||||
|
run: flutter build apk --release
|
||||||
|
|
||||||
- name: Rename APKs
|
- name: Rename APKs
|
||||||
run: |
|
run: |
|
||||||
cd build/app/outputs/flutter-apk
|
cd build/app/outputs/flutter-apk
|
||||||
mv app-arm64-v8a-release.apk elcaju-${{ github.ref_name }}-arm64.apk
|
mv app-arm64-v8a-release.apk elcaju-${{ github.ref_name }}-arm64.apk
|
||||||
mv app-armeabi-v7a-release.apk elcaju-${{ github.ref_name }}-armeabi-v7a.apk
|
mv app-armeabi-v7a-release.apk elcaju-${{ github.ref_name }}-armeabi-v7a.apk
|
||||||
mv app-x86_64-release.apk elcaju-${{ github.ref_name }}-x86_64.apk
|
mv app-x86_64-release.apk elcaju-${{ github.ref_name }}-x86_64.apk
|
||||||
|
mv app-release.apk elcaju-${{ github.ref_name }}-universal.apk
|
||||||
|
cp elcaju-${{ github.ref_name }}-universal.apk elcaju-universal.apk
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
@@ -58,4 +63,6 @@ jobs:
|
|||||||
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-arm64.apk
|
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-arm64.apk
|
||||||
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-armeabi-v7a.apk
|
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-armeabi-v7a.apk
|
||||||
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-x86_64.apk
|
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-x86_64.apk
|
||||||
|
build/app/outputs/flutter-apk/elcaju-${{ github.ref_name }}-universal.apk
|
||||||
|
build/app/outputs/flutter-apk/elcaju-universal.apk
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user