From 899227378554b475c9ccfe20cfb461afaec355a6 Mon Sep 17 00:00:00 2001 From: kyy Date: Sun, 18 Dec 2022 02:00:35 +0300 Subject: [PATCH] Update build-master-buildozer.yml --- .github/workflows/build-master-buildozer.yml | 41 +++----------------- 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/.github/workflows/build-master-buildozer.yml b/.github/workflows/build-master-buildozer.yml index 221fc0a..3da2cd7 100644 --- a/.github/workflows/build-master-buildozer.yml +++ b/.github/workflows/build-master-buildozer.yml @@ -1,56 +1,25 @@ -name: Build (with Buildozer master) -on: - push: - branches-ignore: - - data - - gh-pages - tags: - - '**' - pull_request: - branches-ignore: - - data - - gh-pages - schedule: - - cron: 0 0 */4 * * # at 00:00 UTC every fourth day +name: Build +on: [push, pull_request] jobs: # Build job. Builds app for Android with Buildozer build-android: - name: Build for Android (with Buildozer master) + name: Build for Android runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - with: - path: master - name: Build with Buildozer - uses: ./master # REPLACE WITH ArtemSBulgakov/buildozer-action@v1 + uses: ArtemSBulgakov/buildozer-action@v1 id: buildozer with: - repository_root: master workdir: test_app - buildozer_version: master + buildozer_version: stable - name: Upload artifacts uses: actions/upload-artifact@v2 with: name: package path: ${{ steps.buildozer.outputs.filename }} - - - name: Checkout - uses: actions/checkout@v2 - with: - 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 - if: github.event_name == 'push' - run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data bin-with-master