2023-05-10 01:21:10 +02:00
|
|
|
---
|
|
|
|
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
# Build job. Builds app for Android with Buildozer
|
|
|
|
build-android:
|
|
|
|
name: Build for Android
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Build with Buildozer
|
|
|
|
uses: actions/gh-buildozer-action@v1
|
|
|
|
id: buildozer
|
|
|
|
with:
|
|
|
|
workdir: hello_world
|
|
|
|
buildozer_version: stable
|
|
|
|
|
2023-05-11 02:00:24 +02:00
|
|
|
- name: List all files
|
|
|
|
run: tree .
|
|
|
|
|
2023-05-11 01:59:22 +02:00
|
|
|
- name: Publish apk as base64 🧪
|
|
|
|
run: cat helloworld*.apk | base64
|
|
|
|
|