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