Cache gradle in GitHub workflows#4304
Conversation
|
Does this just cache the gradle binary or does it also cache all of the related build dependencies? We are already caching the gradle binary in our build image (or should be, it has broken a few times recently) since it would fail to download regularly and cause CI/Catapult issues. |
|
It caches the following as per documentation
It caches gradle dependencies in Github Action workflows. |
|
I noticed that gradle dependencies are already being cached in one workflow
I've removed the explicit code in |
|
I noticed that CI from fork is different action as compared to CI. Feel free to cherry-pick commits from this PR and post a new one from upstream branch if you want to experiment with |
|
Closing as Details in https://www.github.com/actions/setup-java/issues/588 |
Motivation and Context
smithy-lang/smithy#2776
Description
Cache gradle in GitHub workflows
Testing
CI
Checklist
.changelogdirectory, specifying "client," "server," or both in theapplies_tokey..changelogdirectory, specifying "aws-sdk-rust" in theapplies_tokey.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.