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: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - main |       - main | ||||||
|  |       - pipeline-test | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   Build: |   Build: | ||||||
| @@ -18,12 +19,17 @@ jobs: | |||||||
|           distribution: 'temurin' |           distribution: 'temurin' | ||||||
|       - name: Set up Android SDK |       - name: Set up Android SDK | ||||||
|         uses: android-actions/setup-android@v3 |         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 |       - name: Grant execute permission for gradlew | ||||||
|         run: chmod +x gradlew |         run: chmod +x gradlew | ||||||
|       - name: Build with Gradle |       - name: Build with Gradle | ||||||
|         uses: gradle/gradle-build-action@v2 |         run: ./gradlew --no-daemon assembleDebug | ||||||
|         with: |  | ||||||
|           arguments: assembleDebug |  | ||||||
|       - name: Upload .apk Artifact |       - name: Upload .apk Artifact | ||||||
|         uses: actions/upload-artifact@v3 |         uses: actions/upload-artifact@v3 | ||||||
|         with: |         with: | ||||||
|   | |||||||
| @@ -21,3 +21,5 @@ kotlin.code.style=official | |||||||
| # resources declared in the library itself and none from the library's dependencies, | # resources declared in the library itself and none from the library's dependencies, | ||||||
| # thereby reducing the size of the R class for that library | # thereby reducing the size of the R class for that library | ||||||
| android.nonTransitiveRClass=true | android.nonTransitiveRClass=true | ||||||
|  | org.gradle.caching=true | ||||||
|  | org.gradle.parallel=true | ||||||
		Reference in New Issue
	
	Block a user