mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 11:37:51 +02:00
Create PullRequestTester.yml
This commit is contained in:
25
.github/workflows/PullRequestTester.yml
vendored
Normal file
25
.github/workflows/PullRequestTester.yml
vendored
Normal file
@ -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
|
Reference in New Issue
Block a user