actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.49k stars 1.2k forks source link

`retention-days` key #1338

Open rikhuijzer opened 7 months ago

rikhuijzer commented 7 months ago

Could a retention-days key be added to this repository similar to what https://github.com/actions/upload-artifact has. This could allow the cache to, essentially, be cleaned up more frequently. This would have two benefits:

  1. Clients would have a less full https://github.com/OWNER/REPOSITOY/actions/caches page in certain situations.
  2. GitHub could reduce their data storage requirements.