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

Utilize cache #11

Open
ForNeVeR opened this issue Sep 24, 2020 · 1 comment
Open

Utilize cache #11

ForNeVeR opened this issue Sep 24, 2020 · 1 comment
Labels
enhancement New feature or request GitHub-Actions Issues related with GitHub Actions

Comments

@ForNeVeR
Copy link

Hi! I like this project and the whole concept of playground for doing NuGet package development in a "right way" via GitHub.

What's your opinion on using the GitHub Action Cache for NuGet packages used by the project? The cache has pros and cons.

As a maintainer of several projects of variable size I should note that using the cache (if possible) usually reduces build errors that happen due to network failures at the package restore step.

On the other hand, cache requires maintenance on its own, because typical modern projects may easily require several gigabytes of cache to be preserved between builds, and GitHub (to my knowledge) limits the cache size for free repositories to 2 GiB today. And if you exceed this size, then the whole cache experience quickly becomes clunky (slower uploads, slower downloads, cache failures).

@kkokosa
Copy link
Owner

kkokosa commented Sep 25, 2020

It sounds like a good idea for such a small project (not many expected dependencies)! Feel free to make a PR - it will be a good example for library MVP. Just add some comments (probably in the workflow file?) about the caveats you mentioned,

@kkokosa kkokosa added GitHub-Actions Issues related with GitHub Actions enhancement New feature or request labels Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GitHub-Actions Issues related with GitHub Actions
Projects
None yet
Development

No branches or pull requests

2 participants