-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
ci: Cache Cargo output on Github Actions #7768
Conversation
How does using the native GH cache action compare to https://github.com/marketplace/actions/rust-cache ? |
I'm not sure - I'll test that out in a separate PR. |
I ask because I remember there being an issue with not being able to clean our own artifacts from the |
Can you please prefix the commit message with |
FYI when using |
Looks like indeed they try redownloading and rebuilding the crates :/ Even wasm-bindgen. |
Ok, took some time to look at the behavior of GitHub Actions here:
(because caches are immutable, the "cache always growing" issue I mentioned above doesn't apply, unless we explicitly make a new cache each build). So I made these changes:
Here's CI completing in <10 minutes: I'm sure there are some improvements here -- for example, probably |
Looked over https://github.com/Herschel/ruffle/runs/8085728266?check_suite_focus=true
|
Co-authored-by: Mike Welsh <mwelsh@gmail.com>
No description provided.