-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 867 Bytes
/
Copy pathbuild-apk.yml
File metadata and controls
34 lines (28 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Build Android APK
on:
push:
branches: [ feature/material-design ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build APK via Docker (kivy/buildozer)
run: |
docker run --rm \
-v ${{ github.workspace }}/android_app:/home/user/hostcwd \
kivy/buildozer:latest android debug 2>&1 | tee ${{ github.workspace }}/android_app/build.log
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: dungeonblackcastle-debug-apk
path: android_app/bin/*.apk
retention-days: 7
- name: Upload build log (on failure)
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-log
path: android_app/build.log