1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00
gh-buildozer-action/.github/workflows/build-master-buildozer.yml

50 lines
1.2 KiB
YAML
Raw Normal View History

name: Build (with Buildozer master)
on:
push:
2020-07-20 21:01:19 +02:00
branches-ignore:
- data
- gh-pages
2020-07-29 15:16:16 +02:00
tags:
- '**'
pull_request:
2020-07-20 21:01:19 +02:00
branches-ignore:
- data
- gh-pages
schedule:
- cron: 0 0 */4 * * # at 00:00 UTC every fourth day
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
2020-07-20 21:01:19 +02:00
with:
path: master
- name: Build with Buildozer
2020-07-20 21:01:19 +02:00
uses: ./master # REPLACE WITH ArtemSBulgakov/buildozer-action@v1
id: buildozer
with:
2020-07-20 21:01:19 +02:00
repository_root: master
workdir: test_app
buildozer_version: master
2020-07-20 21:01:19 +02:00
- name: Checkout
uses: actions/checkout@v2
with:
path: data
ref: data # Branch name
- name: Set up Python
uses: actions/setup-python@v2
with:
2020-07-20 21:01:19 +02:00
python-version: 3.7
architecture: x64
- name: Push binary to data branch
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin-with-master