From b97e2f3d708dddf32cdae464ad98610abbba28cd Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Wed, 14 Aug 2024 14:52:55 +0100 Subject: [PATCH] Re-added .aab builds for Android --- .github/workflows/build.yml | 2 +- src/android/app/build.gradle.kts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b39b52128..ee29593f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -256,4 +256,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.zip","./**/*.apk"]' + asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.zip","./**/*.apk","./**/*.aab",]' diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 53f8d7549..7561ca055 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -268,6 +268,11 @@ android.applicationVariants.configureEach { include("*.apk") into(layout.buildDirectory.dir("bundle")) } + project.copy { + from(layout.buildDirectory.dir("outputs/bundle/${variant.name}")) + include("*.aab") + into(layout.buildDirectory.dir("bundle")) + } } } tasks.named("bundle${capitalizedName}").configure { finalizedBy(copyTask) }