Some checks failed
		
		
	
	Building APK / build-apl (push) Failing after 1m37s
				
			This workflow triggers on every push, sets up Java, Android SDK, bun, and EAS, installs dependencies, builds the APK, zips all APK files, and uploads the zipped APK as an artifact.
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Building APK
 | |
| run-name: Build APK
 | |
| on: [push]
 | |
| jobs:
 | |
|   build-apl:
 | |
|     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 Android SDK
 | |
|         uses: android-actions/setup-android@v3
 | |
| 
 | |
|       - name: Setup bun
 | |
|         uses: oven-sh/setup-bun@v1
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: bun install
 | |
| 
 | |
|       - 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 production --platform android --non-interactive --local
 | |
| 
 | |
|       - name: Zip all apk
 | |
|         run: |
 | |
|           zip apk.zip *.apk
 | |
|                     
 | |
|       - name: Upload APK ZIP
 | |
|         uses: actions/upload-artifact@v2
 | |
|         with:
 | |
|           name: apk
 | |
|           path: apk.zip |