Merge pull request 'pipeline-test' (#17) from pipeline-test into main
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Android Builder / Build (push) Successful in 1m18s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Android Builder / Build (push) Successful in 1m18s
				
			Reviewed-on: #17
This commit is contained in:
		| @@ -3,12 +3,11 @@ run-name: ${{ gitea.actor }} is building an Android application | |||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - main |  | ||||||
|       - pipeline-test |       - pipeline-test | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   Build: |   Build: | ||||||
|     runs-on: ubuntu-22.04 |     runs-on: ubuntu-24.04 | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout the repo |       - name: Checkout the repo | ||||||
|         uses: actions/checkout@v4 |         uses: actions/checkout@v4 | ||||||
|   | |||||||
							
								
								
									
										42
									
								
								.gitea/workflows/debug.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								.gitea/workflows/debug.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | |||||||
|  | name: Gitea Android Builder | ||||||
|  | run-name: ${{ gitea.actor }} is building an Android application | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |       - main | ||||||
|  |     tags: | ||||||
|  |       - "*" | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   Build: | ||||||
|  |     runs-on: ubuntu-24.04 | ||||||
|  |     steps: | ||||||
|  |       - name: Checkout the repo | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |       - name: Set up JDK 23 | ||||||
|  |         uses: actions/setup-java@v4 | ||||||
|  |         with: | ||||||
|  |           java-version: '23' | ||||||
|  |           distribution: 'temurin' | ||||||
|  |       - name: Set up Android SDK | ||||||
|  |         uses: android-actions/setup-android@v3 | ||||||
|  |       - name: Grant execute permission for gradlew | ||||||
|  |         run: chmod +x gradlew | ||||||
|  |       - name: Cache Gradle packages | ||||||
|  |         uses: actions/cache@v3 | ||||||
|  |         with: | ||||||
|  |           path: | | ||||||
|  |             ~/.gradle/caches | ||||||
|  |             ~/.gradle/wrapper | ||||||
|  |           key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||||||
|  |       - name: Build with Gradle | ||||||
|  |         uses: gradle/gradle-build-action@v2 | ||||||
|  |         with: | ||||||
|  |           arguments: assembleDebug | ||||||
|  |       - name: Upload .apk Artifact | ||||||
|  |         uses: actions/upload-artifact@v3 | ||||||
|  |         with: | ||||||
|  |           name: android-app-apk | ||||||
|  |           path: app/build/outputs/apk/debug/*.apk | ||||||
|  |       - name: Status | ||||||
|  |         run: echo "This job's status is ${{ job.status }}." | ||||||
		Reference in New Issue
	
	Block a user