From 3370e38eea023c78506270d8f02173974dd0d507 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Fri, 31 Jan 2020 22:12:12 +0800 Subject: [PATCH] Testing the Actions. --- .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 00000000..1bdc5ceb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: build + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Setup Java 8 + uses: actions/setup-java@v1.3.0 + with: + java-version: 1.8 + - name: Checkout + uses: actions/checkout@v2 + - name: Submodule Init + run: git submodule sync --recursive && git submodule update --init --force --recursive + - name: Build + run: bash ./gradlew assembleRelease + - name: Artifact + uses: actions/upload-artifact@v1.0.0 + with: + name: unsigned-apk + path: app/build/outputs/apk