From 4248c3e39f68a7fb14ac7724b3baa07afe2a3f52 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Thu, 15 Oct 2020 04:59:25 +0300 Subject: [PATCH] [workflow] add GHA configuration First try to build app with GH Actions. --- .github/workflows/android.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/android.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 0000000..6b8a2d2 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,22 @@ +name: Android CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/upload-artifact@v2 + with: + path: app/build/outputs/apk/debug/*.apk + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Setup Android SDK + uses: android-actions/setup-android@v2 + + - name: Build with Gradle + run: ./gradlew assembleDebug +