2020-06-23 14:17:14 +02:00
|
|
|
name: Build (with Buildozer master)
|
2020-06-25 10:18:25 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
schedule:
|
2020-07-01 09:33:08 +02:00
|
|
|
- cron: 0 0 */4 * * # at 00:00 UTC every fourth day
|
2020-06-23 14:17:14 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
# Build job. Builds app for Android with Buildozer
|
|
|
|
build-android:
|
|
|
|
name: Build for Android (with Buildozer master)
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Build with Buildozer
|
|
|
|
uses: ./ # REPLACE WITH ArtemSBulgakov/buildozer-action@v1
|
|
|
|
id: buildozer
|
|
|
|
with:
|
|
|
|
workdir: test_app
|
|
|
|
buildozer_version: master
|
|
|
|
|
|
|
|
- name: Upload artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: package
|
|
|
|
path: ${{ steps.buildozer.outputs.filename }}
|