Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setup-gradle to setup cache when building android apps #138

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

Jerit3787
Copy link
Contributor

This pulls request contain a fix for the Gradle cache.

Based on previous usage of GitHub Actions, the workflow is unable to download the latest cache uploaded by the previous run. It is noticed that setup-java seems to have limited features when comes to cache. Switching to setup-gradle (first-party actions) should fix the cache loading error. Also, this is also recommended in this issue actions/setup-java#588.

As a side note, this also updates the package-lock.json file. I noticed that you didn't upload the latest package-lock.json causing overhead for the CI to reconfigure the package-lock file every runs.

@amarullz amarullz merged commit c989694 into amarullz:master Jun 26, 2024
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