diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 881a314..5d200c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,15 +41,20 @@ jobs: - name: Generate localizations run: flutter gen-l10n - - name: Build release APKs + - name: Build release APKs (split per ABI) run: flutter build apk --release --split-per-abi + - name: Build universal APK + run: flutter build apk --release + - name: Rename APKs run: | cd build/app/outputs/flutter-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-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 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 }}-armeabi-v7a.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