diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index b9a3989..cbdaf51 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -34,14 +34,18 @@ jobs: key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('buildozer.spec') }} - name: Build with Buildozer - uses: ArtemSBulgakov/buildozer-action@v1 - id: buildozer - with: - command: buildozer android debug - buildozer_version: master + run: | + pip3 install --user --upgrade buildozer Cython virtualenv + export PATH=$PATH:~/.local/bin/ + export APP_ANDROID_ACCEPT_SDK_LICENSE=1 + export BUILDOZER_WARN_ON_ROOT=0 + sudo apt update + sudo apt install -y git zip unzip openjdk-17-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev libssl-dev + cd ${{ github.workspace }} + buildozer android debug - name: Upload artifacts uses: actions/upload-artifact@v3 with: name: package - path: ${{ steps.buildozer.outputs.filename }} + path: bin/*.apk