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

Also test on master Buildozer

This commit is contained in:
Artem Bulgakov 2020-07-20 22:01:19 +03:00
parent 161997339e
commit f705732ce7

View file

@ -1,9 +1,13 @@
name: Build (with Buildozer master) name: Build (with Buildozer master)
on: on:
push: push:
branches-ignore:
- data
- gh-pages
pull_request: pull_request:
schedule: branches-ignore:
- cron: 0 0 */4 * * # at 00:00 UTC every fourth day - data
- gh-pages
jobs: jobs:
# Build job. Builds app for Android with Buildozer # Build job. Builds app for Android with Buildozer
@ -14,16 +18,28 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
with:
path: master
- name: Build with Buildozer - name: Build with Buildozer
uses: ./ # REPLACE WITH ArtemSBulgakov/buildozer-action@v1 uses: ./master # REPLACE WITH ArtemSBulgakov/buildozer-action@v1
id: buildozer id: buildozer
with: with:
repository_root: master
workdir: test_app workdir: test_app
buildozer_version: master buildozer_version: master
- name: Upload artifacts - name: Checkout
uses: actions/upload-artifact@v2 uses: actions/checkout@v2
with: with:
name: package path: data
path: ${{ steps.buildozer.outputs.filename }} ref: data # Branch name
- name: Set up Python
uses: actions/setup-python@v2
with:
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