From 3b615fb0c209c90577629a7650bd6d2131ec70a7 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Tue, 23 Jun 2020 15:15:16 +0300 Subject: [PATCH] Add full workflow example --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 03e76c0..ce3d789 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,36 @@ Example: buildozer_version: stable ``` +## Full workflow + +```yaml +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: 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 }} +``` + ## License ArtemSBulgakov/buildozer-action is released under the terms of the