diff --git a/.github/workflows/upload-apk.yml b/.github/workflows/upload-apk.yml new file mode 100644 index 0000000..c468952 --- /dev/null +++ b/.github/workflows/upload-apk.yml @@ -0,0 +1,28 @@ +--- +name: generate-release + +on: + workflow_dispatch: + +jobs: + build-android: + runs-on: ubuntu-24.04 + steps: + - name: Checkout repository (with submodules) + uses: actions/checkout@v4 + with: + submodules: true + + - name: Install dependencies + run: sudo apt-get install -y ninja-build + + - name: Build SoH APK + run: | + ./gradlew assembleDebug -P elfBuildType=RelWithDebInfo + mv app/build/outputs/apk/debug/app-debug.apk soh.apk + + - name: Upload APK artifact + uses: actions/upload-artifact@v4 + with: + name: soh-apk + path: soh.apk \ No newline at end of file