Skip to content

Commit 281be64

Browse files
committed
Force clean build for API 34 with v0.2 bump and p4a master branch
1 parent 4bb8ce6 commit 281be64

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/buildozer.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,16 @@ jobs:
3535
path: |
3636
~/.buildozer
3737
collaborative_app/.buildozer
38-
key: ${{ runner.os }}-buildozer-${{ hashFiles('collaborative_app/buildozer.spec') }}
38+
key: ${{ runner.os }}-buildozer-v2-${{ hashFiles('collaborative_app/buildozer.spec') }}
3939
restore-keys: |
40-
${{ runner.os }}-buildozer-
40+
${{ runner.os }}-buildozer-v2-
4141
4242
- name: Build with Buildozer
4343
# We must cd into the collaborative_app directory before running buildozer
4444
# We also use 'yes' to automatically accept any SDK licenses during the build.
4545
run: |
4646
cd collaborative_app
47+
buildozer android clean
4748
yes | buildozer android debug
4849
4950
- name: Upload APK

‎collaborative_app/buildozer.spec‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ source.dir = .
1616
source.include_exts = py,png,jpg,kv,atlas
1717

1818
# (str) Application versioning
19-
version = 0.1
19+
version = 0.2
2020

2121
# (list) Application requirements
2222
# We need websockets and kivy, as well as openssl for networking and hostpython3 for the build toolchain.
@@ -40,6 +40,9 @@ android.accept_sdk_license = True
4040
# (str) Android NDK version to use
4141
# android.ndk = 25b
4242

43+
# (str) python-for-android branch to use
44+
p4a.branch = master
45+
4346
# (list) The Android architectures to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
4447
android.archs = arm64-v8a, armeabi-v7a
4548

0 commit comments

Comments
 (0)