mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			654 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			654 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 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
 |