Skip to content

ci: optimize Android SDK build by caching Gradle dependencies#17100

Open
vishal2005025 wants to merge 1 commit intojitsi:masterfrom
vishal2005025:ci/android-gradle-cache
Open

ci: optimize Android SDK build by caching Gradle dependencies#17100
vishal2005025 wants to merge 1 commit intojitsi:masterfrom
vishal2005025:ci/android-gradle-cache

Conversation

@vishal2005025
Copy link
Contributor

@vishal2005025 vishal2005025 commented Mar 6, 2026

Summary

This PR optimizes the Simple CI workflow by caching Gradle dependencies for the android-sdk-build job.

Changes

  • Add Gradle dependency cache (/root/.gradle)
  • Restore the cache before running the Gradle build

Previously the Android SDK job was downloading Gradle dependencies on every run, which added several minutes to the build time. With caching enabled, dependencies can be reused across runs, helping reduce CI time and cost while keeping the build behavior unchanged.

Prev CI Job:
https://github.com/jitsi/jitsi-meet/actions/runs/22581652827/job/65415106130?pr=17065

Now CI job:
https://github.com/vishal2005025/jitsi-meet/actions/runs/22759308199/job/66014374404

@vishal2005025
Copy link
Contributor Author

@saghul @damencho @jallamsetty1 Please take a look and let me know if any changes are required.
Thanks!

@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@vishal2005025 vishal2005025 force-pushed the ci/android-gradle-cache branch from 1ed608d to fac81df Compare March 6, 2026 10:12
@vishal2005025 vishal2005025 force-pushed the ci/android-gradle-cache branch from fac81df to 9b260b0 Compare March 6, 2026 10:23
@vishal2005025
Copy link
Contributor Author

vishal2005025 commented Mar 6, 2026

@saghul could you please take a look? The caching is working fine and CI time and cost are reduced.
Now ci Job: https://github.com/vishal2005025/jitsi-meet/actions/runs/22759308199/job/66016288923

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants