From 8ae7cd08bbce3edb97b8034ad547b93ac339959b Mon Sep 17 00:00:00 2001 From: Levi Buzolic Date: Tue, 18 May 2021 10:08:29 +1000 Subject: [PATCH] Add a GitHub action for Android build --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b6b9c0c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +# This is a basic workflow to help you get started with Actions + +name: Android Build + +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout the code + uses: actions/checkout@v2 + - name: Build the app + run: cd ExampleProject/ && ./gradlew build