commit 729012aa12e025d04d36959cb8bf3ed7f574c0e3
parent fe7790fcbf866cdec0c5194061d0e478edb875d8
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Fri, 28 Aug 2026 13:30:12 +0530
Merge pull request #100 from notamitgamer/copilot/fix-build-apk-failure
Fix build-apk CI failure by aligning generated Android compileSdk with okhttp-android requirement
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml
@@ -99,6 +99,12 @@ jobs:
npx cap add android
npx cap sync android
+ - name: Bump Android compile SDK for okhttp-android
+ working-directory: apk-build/android
+ run: |
+ sed -Ei 's/(compileSdkVersion\s*=\s*)[0-9]+/\136/' variables.gradle
+ echo "android.suppressUnsupportedCompileSdk=36" >> gradle.properties
+
# Repo secrets required, added once by hand under
# Settings > Secrets and variables > Actions:
# ANDROID_KEYSTORE_BASE64 base64 of the .keystore file