From 0b8bb6d9cf917787b00a1a201dad7616ece5535a Mon Sep 17 00:00:00 2001 From: Placeholder6 <86405576+Placeholder6@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:55:29 +0600 Subject: [PATCH 1/3] Add GitHub Actions workflow for building APK --- .github/workflows/Android.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/Android.yml diff --git a/.github/workflows/Android.yml b/.github/workflows/Android.yml new file mode 100644 index 00000000..9ebb5ca2 --- /dev/null +++ b/.github/workflows/Android.yml @@ -0,0 +1,32 @@ +name: Build APK + +on: + push: + branches: [ "main" ] + workflow_dispatch: # <--- This adds the manual "Run" button + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + # Explicitly using Gradle 8.5 to prevent version errors + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + gradle-version: '8.5' + + - name: Build Debug APK + run: gradle assembleDebug --no-daemon --stacktrace + + - uses: actions/upload-artifact@v4 + with: + name: app-debug + path: app/build/outputs/apk/debug/app-debug.apk From 4646e49b4782011122682027eedbe161dd9dab71 Mon Sep 17 00:00:00 2001 From: Placeholder6 <86405576+Placeholder6@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:56:28 +0600 Subject: [PATCH 2/3] Rename Android.yml to android.yml [skip ci] --- .github/workflows/{Android.yml => android.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{Android.yml => android.yml} (100%) diff --git a/.github/workflows/Android.yml b/.github/workflows/android.yml similarity index 100% rename from .github/workflows/Android.yml rename to .github/workflows/android.yml From 6af8ed5452ca579bcc9e039bf3f787f87791a168 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Dec 2025 10:55:36 +0000 Subject: [PATCH 3/3] [skip ci] Auto-increment version to 1.3 --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 65c7d920..a831621b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -13,8 +13,8 @@ android { applicationId = "kg.oshsu.myedu" minSdk = 24 targetSdk = 36 - versionCode = 12 - versionName = "1.2" + versionCode = 13 + versionName = "1.3" } // --- SIGNING CONFIGURATION ---