From e574b826d9cf14b72c3e28a47fc35fd0c0863406 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Sun, 23 Feb 2020 19:05:31 +0900 Subject: [PATCH] Add GitHub workflow for Android build --- .github/workflows/android.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..ecc2c0a --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,28 @@ +name: Android Build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install Deps + run: sudo apt install ninja-build + + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - name: Build + run: | + cd android + ./gradlew assembleRelease + + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + name: system3-release-unsigned-apk + path: android/app/build/outputs/apk/release/app-release-unsigned.apk