From 58c84fc09c44a4f5a39c26ee2cc618b83aa05969 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Tue, 23 Jun 2020 15:16:58 +0300 Subject: [PATCH] Add Build workflow --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..86bc835 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build +on: [push, pull_request] + +jobs: + # Build job. Builds app for Android with Buildozer + build-android: + name: Build for Android + 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: stable + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: package + path: ${{ steps.buildozer.outputs.filename }}