CI/CD time optimization attempt
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Android Builder / Build (push) Successful in 2m58s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Android Builder / Build (push) Successful in 2m58s
				
			This commit is contained in:
		| @@ -4,6 +4,7 @@ on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|       - pipeline-test | ||||
|  | ||||
| jobs: | ||||
|   Build: | ||||
| @@ -18,12 +19,17 @@ jobs: | ||||
|           distribution: 'temurin' | ||||
|       - name: Set up Android SDK | ||||
|         uses: android-actions/setup-android@v3 | ||||
|       - name: Cache Gradle packages | ||||
|         uses: actions/cache@v3 | ||||
|         with: | ||||
|           path: | | ||||
|             ~/.gradle/caches | ||||
|             ~/.gradle/wrapper | ||||
|           key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||||
|       - name: Grant execute permission for gradlew | ||||
|         run: chmod +x gradlew | ||||
|       - name: Build with Gradle | ||||
|         uses: gradle/gradle-build-action@v2 | ||||
|         with: | ||||
|           arguments: assembleDebug | ||||
|         run: ./gradlew --no-daemon assembleDebug | ||||
|       - name: Upload .apk Artifact | ||||
|         uses: actions/upload-artifact@v3 | ||||
|         with: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user