Skip to content

Commit

Permalink
ci: generate split apk
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 28, 2024
1 parent 024f897 commit 1156de6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
./gradlew assembleCanary
./gradlew bundleCanary
npm run postbuild
find . -name "*.apk"
env:
APP_BUILD_TYPE: canary
APP_VERSION_NAME: ${{ steps.app_version.outputs.version }}
Expand Down
7 changes: 7 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ android {
}
}

splits {
abi {
isEnable = true
isUniversalApk = true
}
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
Expand Down

0 comments on commit 1156de6

Please sign in to comment.