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

Attempt to cache LFS in GH actions #101

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

ml-evs
Copy link
Collaborator

@ml-evs ml-evs commented Feb 3, 2024

Hopefully closes #100 by using a custom checkout action that caches LFS files for pulling within GH actions. It's a bit bizarre that GH charges so aggressively for this when the LFS is stored within their own network, but it doesn't look like this will change anytime soon (see actions/checkout#165). Hopefully this action works well enough that we don't need to roll our own solution.

@ml-evs
Copy link
Collaborator Author

ml-evs commented Feb 3, 2024

Bit hard to see whether this properly working (up until its not) but perhaps we can give this a go @chatcannon. At least in the second commit it claims that the cache hit; not sure how easy this would be to see in your billing.

@chatcannon chatcannon merged commit f0177f2 into master Feb 6, 2024
4 checks passed
@chatcannon chatcannon deleted the ml-evs/attempt-to-cache-lfs branch February 6, 2024 19:42
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.

CI is using up too much git-lfs bandwidth
2 participants