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

Cache dependencies using GitHub cache #112

Closed
Marko19907 opened this issue Jun 8, 2023 · 2 comments
Closed

Cache dependencies using GitHub cache #112

Marko19907 opened this issue Jun 8, 2023 · 2 comments

Comments

@Marko19907
Copy link
Contributor

It would be great if the workflow could cache dependencies using GitHub cache so you don't need to download them on every run. This would help speed up the build process and reduce the amount of time it takes to export a project.

An example of an implementation can be found in the actions/setup-node repository https://github.com/actions/setup-node

@moorbren
Copy link
Contributor

Yeah it's pretty miserable using Tux Family to download every single build, think their getting hit with a ton of traffic and my builds are 7+ minutes, 95% of which is downloading the libraries. The export templates in Godot 4 are 800mb now, no light download for each build by any means. In some cases I was hitting build times of 20+ minutes.

In the meantime, I've downloaded the libraries and popped them into a local server for my runner. My builds now only spend a couple seconds downloading the files. Not super happy with it but speed wise it's pretty solid.

Here's a screenshot of some of the download times I was seeing:
image

@firebelley
Copy link
Owner

Addressed in #113

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

No branches or pull requests

3 participants