Skip to content

Add caching to speed up GitHub builds #13

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RappyTV
Copy link
Contributor

@RappyTV RappyTV commented Apr 1, 2025

This pr adds caching to the workflow to speed up GitHub actions builds because they are just so slow.
here is a comparison of the build durations before and after the change (please note that those 3 minutes are only the case because it's an empty project. my addons have an average of 7-8 minutes which can be very annoying)

red = before caching
yellow = after caching
opera_TkmlrKqVhJ

as you can see, the caching reduces build times up to 60% which is a lot.
a labygradle bump and the addition of 1.21.5 to the supported minecraft versions is also included in this pull request.

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.

1 participant