ci: optimize Android SDK build by caching Gradle dependencies#17100
Open
vishal2005025 wants to merge 1 commit intojitsi:masterfrom
Open
ci: optimize Android SDK build by caching Gradle dependencies#17100vishal2005025 wants to merge 1 commit intojitsi:masterfrom
vishal2005025 wants to merge 1 commit intojitsi:masterfrom
Conversation
Contributor
Author
|
@saghul @damencho @jallamsetty1 Please take a look and let me know if any changes are required. |
|
Hi, thanks for your contribution! |
1ed608d to
fac81df
Compare
fac81df to
9b260b0
Compare
Contributor
Author
|
@saghul could you please take a look? The caching is working fine and CI time and cost are reduced. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR optimizes the
Simple CIworkflow by caching Gradle dependencies for theandroid-sdk-buildjob.Changes
/root/.gradle)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