27 lines
593 B
YAML
27 lines
593 B
YAML
|
---
|
||
|
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
|
||
|
|
||
|
- name: Upload artifacts
|
||
|
uses: actions/upload-artifact@v3
|
||
|
with:
|
||
|
name: package
|
||
|
path: ${{ steps.buildozer.outputs.filename }}
|