Re-added .aab builds for Android

This commit is contained in:
OpenSauce04 2024-08-14 14:52:55 +01:00
parent 282b22b784
commit b97e2f3d70
2 changed files with 6 additions and 1 deletions

View File

@ -256,4 +256,4 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.zip","./**/*.apk"]' asset_paths: '["./**/*.tar.*","./**/*.AppImage","./**/*.zip","./**/*.apk","./**/*.aab",]'

View File

@ -268,6 +268,11 @@ android.applicationVariants.configureEach {
include("*.apk") include("*.apk")
into(layout.buildDirectory.dir("bundle")) 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) } tasks.named("bundle${capitalizedName}").configure { finalizedBy(copyTask) }