Compare commits
	
		
			5 Commits
		
	
	
		
			07ad6cb59d
			...
			407a5d32a5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 407a5d32a5 | |||
| 81ab379e0e | |||
| 5a4d30b9f8 | |||
| 5c92f74ceb | |||
| 0906b95273 | 
| @@ -3,12 +3,11 @@ run-name: ${{ gitea.actor }} is building an Android application | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|       - pipeline-test | ||||
|  | ||||
| jobs: | ||||
|   Build: | ||||
|     runs-on: ubuntu-22.04 | ||||
|     runs-on: ubuntu-24.04 | ||||
|     steps: | ||||
|       - name: Checkout the repo | ||||
|         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