Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Jan 14, 2024
1 parent 99b9c86 commit b4e7211
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- run: KEYSTORE_PASS=${{ secrets.KEYSTORE_PASS }} ./gradlew :app:assembleRelease
- run: KEYSTORE_PASS=${{ secrets.KEYSTORE_PASS }} APK_VERSION_NAME=120.1.2.3-1 APK_ABI=arm64-v8a ./gradlew :app:assembleRelease
working-directory: apk
cache-toolchains-posix:
runs-on: ubuntu-20.04
Expand Down
2 changes: 2 additions & 0 deletions apk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.gradle/
app/build/
2 changes: 1 addition & 1 deletion apk/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ android {
targetSdk = 33

applicationId = "moe.matsuri.exe.naive"
versionCode = System.getenv("APK_VERSION_CODE")
versionCode = System.getenv("APK_VERSION_NAME").split(".")[0].toInt()
versionName = System.getenv("APK_VERSION_NAME")
splits.abi {
isEnable = true
Expand Down

0 comments on commit b4e7211

Please sign in to comment.