All checks were successful
		
		
	
	Building APK / build-apk (push) Successful in 40m56s
				
			🔧 chore(build.gradle): update ndkVersion to 26.2.11394342 for better compatibility 🔧 chore(gradle.properties): increase JVM args for better performance 🔧 chore(eas.json): add buildType as apk for all build profiles to generate APKs 🔧 chore(package.json): downgrade @react-native-async-storage/async-storage to 1.21.0 and react-native-pager-view to 6.2.3 for compatibility 🔧 chore(package.json): add expo-dev-client@3.3.11 for better development experience 🔧 chore(package.json): update react-native-reanimated to latest, react-native-safe-area-context to 4.8.2 and react-native-screens to 3.29.0 for better compatibility and performance
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Building APK
 | |
| run-name: Build APK
 | |
| on: [push]
 | |
| jobs:
 | |
|   build-apk:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Check out repository code
 | |
|         uses: actions/checkout@v3
 | |
|       
 | |
|       - name: Setup Java
 | |
|         uses: actions/setup-java@v4
 | |
|         with:
 | |
|           distribution: 'adopt'
 | |
|           java-version: '17'
 | |
| 
 | |
|       - name: Setup NodeJS
 | |
|         uses: actions/setup-node@v3
 | |
|         with:
 | |
|           node-version: 18.x
 | |
| 
 | |
|       - name: Setup Android SDK
 | |
|         uses: android-actions/setup-android@v3
 | |
|         with:
 | |
|           packages: ''
 | |
|           cmdline-tools-version: 9862592
 | |
| 
 | |
|       - name: Setup bun
 | |
|         uses: oven-sh/setup-bun@v1
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: bun install
 | |
|  
 | |
|       - run: ./gradlew clean
 | |
|         working-directory: ./android
 | |
| 
 | |
|       - name: Setup EAS
 | |
|         uses: expo/expo-github-action@v8
 | |
|         with:
 | |
|           eas-version: latest
 | |
|           token: ${{ secrets.EXPO_TOKEN }}
 | |
|           packager: bun
 | |
| 
 | |
|       - name: Build APK
 | |
|         run: eas build --no-wait --profile preview --platform android --non-interactive --local
 | |
| 
 | |
|       - name: Zip all apk
 | |
|         run: |
 | |
|           zip apk.zip *.apk
 | |
|                     
 | |
|       - name: Upload APK ZIP
 | |
|         uses: actions/upload-artifact@v3
 | |
|         with:
 | |
|           name: apk
 | |
|           path: apk.zip
 |