From f705732ce7097ba82cbb4d8dd6c481a451d31c65 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Mon, 20 Jul 2020 22:01:19 +0300 Subject: [PATCH] Also test on master Buildozer --- .github/workflows/build-master-buildozer.yml | 30 +++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-master-buildozer.yml b/.github/workflows/build-master-buildozer.yml index 1c9de0a..c52e97b 100644 --- a/.github/workflows/build-master-buildozer.yml +++ b/.github/workflows/build-master-buildozer.yml @@ -1,9 +1,13 @@ name: Build (with Buildozer master) on: push: + branches-ignore: + - data + - gh-pages pull_request: - schedule: - - cron: 0 0 */4 * * # at 00:00 UTC every fourth day + branches-ignore: + - data + - gh-pages jobs: # Build job. Builds app for Android with Buildozer @@ -14,16 +18,28 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + path: master - name: Build with Buildozer - uses: ./ # REPLACE WITH ArtemSBulgakov/buildozer-action@v1 + uses: ./master # REPLACE WITH ArtemSBulgakov/buildozer-action@v1 id: buildozer with: + repository_root: master workdir: test_app buildozer_version: master - - name: Upload artifacts - uses: actions/upload-artifact@v2 + - name: Checkout + uses: actions/checkout@v2 with: - name: package - path: ${{ steps.buildozer.outputs.filename }} + path: data + 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