forked from ankidroid/Anki-Android
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(ci): use gradle-build-action w/main cache only on all workflows
This should optimize LRU cache eviction so main and branches always have reasonably fresh gradle caches and main does not ever get evicted, since branches have independent caches and would otherwise fill up 10GB cache limit Note that `--daemon` is specified as the default for this action is no daemon, that is correct for long-lived runners to avoid cross-build contamination, but on GitHub Hosted Runners (which we use) we are clean each run, so this is a small optimization to share gradle between steps: gradle/gradle-build-action#113 (comment)
- Loading branch information
Showing
3 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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