ci: add GitHub Actions APK build with fixed test signing
Adds a workflow that builds and uploads a release APK on every push to main/this branch. Signing uses a static test keystore committed to the repo (app/ci-release.keystore.jks) instead of the default auto-generated debug key, so the signature stays identical across builds/runners and users can update the app without a reinstall. This keystore is for CI/testing only, not Google Play distribution.
This commit is contained in:
3 files changed
+62
No files matched your search
@@ -23,6 +23,18 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
// Фиксированный тестовый keystore (не для Google Play): используется во всех
|
||||
// сборках, включая CI, чтобы подпись APK не менялась от сборки к сборке —
|
||||
// иначе обновление приложения поверх предыдущей версии ломается.
|
||||
signingConfigs {
|
||||
getByName("debug") {
|
||||
storeFile = file("ci-release.keystore.jks")
|
||||
storePassword = "vkturnproxy-ci"
|
||||
keyAlias = "ci-release"
|
||||
keyPassword = "vkturnproxy-ci"
|
||||
}
|
||||
}
|
||||
|
||||
// Красивое именование APK файлов
|
||||
applicationVariants.all {
|
||||
val variantName = name
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user