-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Speed up GHA workflows #760
Comments
Why do we render with I know that option came up when we tried debugging people's issues with local rendering, where it made sense to occasionally throw out the cache. |
Yeah, I also though about this, at least we should run everything with |
Wouldn't that mean that the second rendering wouldn't benefit from the first one, so the code would still run twice per workflow? |
Yes, I think we should probably just enable caching. Currently we are not only not caching, we are creating a cache that we then throw away, which is like the worst thing we can do :D |
I'm wary of adding the quarto cache to the GHA cache and restore that - we'd surely get faster renders which would be nice, but I can already smell the accidentally-looking-at-old-version-of-things-that-were-cached-but-maybe-should-have-been-refreshed issues brewing 🥴 Or similarly, one of the myriad of potential issues that lead to use using the |
Yeah, I would not cache between workflows, but just within a workflow |
Because we render with
--cache-refresh
and we render to both pdf and html, all the code from the book is run twice in each workflow. This unnecessarily slows down the rendering time and we can / should do something about this.The text was updated successfully, but these errors were encountered: