Skip to content

Commit 92f7dba

Browse files
committed
Fix buildozer configuration and use ubuntu-20.04
1 parent 0bcefbd commit 92f7dba

2 files changed

Lines changed: 8 additions & 18 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,17 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1111

1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
18-
python-version: '3.11'
19-
20-
- name: Install dependencies
21-
run: |
22-
sudo apt-get update
23-
sudo apt-get install -y git zip unzip openjdk-17-jdk wget
24-
pip install --upgrade pip
25-
pip install buildozer cython
26-
2715
- name: Build with Buildozer
28-
run: |
29-
buildozer android debug
30-
env:
31-
ANDROID_SDK_ROOT: /usr/local/lib/android/sdk
16+
uses: ArtemSBulgakov/buildozer-action@v1
17+
id: buildozer
18+
with:
19+
command: buildozer android debug
20+
buildozer_version: stable
3221

3322
- name: Upload APK
3423
uses: actions/upload-artifact@v4

buildozer.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ orientation = portrait
1414
fullscreen = 0
1515

1616
android.permissions =
17-
android.api = 31
17+
android.api = 33
1818
android.minapi = 21
1919
android.ndk = 25b
2020
android.accept_sdk_license = True
21+
android.gradle_dependencies =
2122

2223
[buildozer]
2324
log_level = 2

0 commit comments

Comments
 (0)