Update kingwatch.kv #99
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build KingWatch APK | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '17' | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt update | |
| sudo apt install -y zip unzip openjdk-17-jdk \ | |
| python3-pip autoconf libtool pkg-config \ | |
| zlib1g-dev libncurses5-dev libncursesw5-dev \ | |
| libtinfo6 cmake libffi-dev libssl-dev | |
| - name: Install Buildozer | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install buildozer | |
| pip install cython==0.29.33 | |
| - name: Build APK | |
| run: | | |
| buildozer android debug | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: kingwatch-apk | |
| path: bin/*.apk |