forked from MapComplete/MapComplete
		
	Chore: (attempt to) fix android build
This commit is contained in:
		
							parent
							
								
									82905fee3f
								
							
						
					
					
						commit
						f50a7f6aac
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
					@ -30,6 +30,15 @@ jobs:
 | 
				
			||||||
          git submodule init  
 | 
					          git submodule init  
 | 
				
			||||||
          git submodule update
 | 
					          git submodule update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: generate layers
 | 
				
			||||||
 | 
					        run: npm run generate:layeroverview
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: test
 | 
				
			||||||
 | 
					        run: npm run test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: prepare android build
 | 
				
			||||||
 | 
					        run: npm run android:prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Decode keystore
 | 
					      - name: Decode keystore
 | 
				
			||||||
        run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > ~/.gradle/release-key.jks
 | 
					        run: echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > ~/.gradle/release-key.jks
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,8 +47,6 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build signed APK
 | 
					      - name: Build signed APK
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          npm run android:prepare
 | 
					 | 
				
			||||||
          npm run android:build
 | 
					 | 
				
			||||||
          cd android
 | 
					          cd android
 | 
				
			||||||
          export ANDROID_SDK_HOME=/home/runner/.android/sdk/
 | 
					          export ANDROID_SDK_HOME=/home/runner/.android/sdk/
 | 
				
			||||||
          export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/:$ANDROID_SDK_HOME/cmdline-tools/latest/tools/bin:$PATH
 | 
					          export PATH=$ANDROID_SDK_HOME/tools:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/:$ANDROID_SDK_HOME/cmdline-tools/latest/tools/bin:$PATH
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue