diff --git a/.github/workflows/PullRequestTester.yml b/.github/workflows/PullRequestTester.yml deleted file mode 100644 index f4e874cc7..000000000 --- a/.github/workflows/PullRequestTester.yml +++ /dev/null @@ -1,25 +0,0 @@ -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;21.0.6113669" - - 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 diff --git a/.github/workflows/pr_build_check.yml b/.github/workflows/pr_build_check.yml index a974ff0fb..47a58c1d8 100644 --- a/.github/workflows/pr_build_check.yml +++ b/.github/workflows/pr_build_check.yml @@ -13,6 +13,11 @@ jobs: with: java-version: 1.8 - name: Install NDK - run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.3.6528147" + run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" - name: Build project run: ./gradlew assembleDebug + - 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 \ No newline at end of file