actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.37k stars 1.16k forks source link

Cocoapods example should cache the system cache rather than build products #1288

Open daveisfera opened 7 months ago

daveisfera commented 7 months ago

For node, it's recommend to not cache node_modules, but the current example for Cocoapods is doing something similar, so it should be changed to cache the system cache rather than the build products

The change would be to set path to:

path: |
  ~/Library/Caches/CocoaPods
  ~/.cocoapods

I believe this would address several existing issues (#401 #455 #1115 #1136)

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

daveisfera commented 3 weeks ago

There is a note about this in the examples now, but the Lerna example still caches node_modules