From 5e618e0134e331fe65132ec281a245bef64d5bb9 Mon Sep 17 00:00:00 2001 From: jobobby04 Date: Tue, 19 May 2020 18:27:40 -0400 Subject: [PATCH] Create PullRequestTester.yml --- .github/workflows/PullRequestTester.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/PullRequestTester.yml diff --git a/.github/workflows/PullRequestTester.yml b/.github/workflows/PullRequestTester.yml new file mode 100644 index 000000000..0a06cf5c4 --- /dev/null +++ b/.github/workflows/PullRequestTester.yml @@ -0,0 +1,25 @@ +name: Pull Request Checker + +on: + pull_request: + +jobs: + apk: + name: Generate APK + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v2 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Get NDK + run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;20.0.5594570" + - name: Build Release APK + run: bash ./gradlew assembleDebug --stacktrace + - name: Upload APK + uses: actions/upload-artifact@v2 + with: + name: TachiyomiSY-${{ github.sha }}.apk + path: app/build/outputs/apk/dev/debug/app-dev-debug.apk