subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.16k stars 193 forks source link

.dart_tool cache #247

Closed furaiev closed 8 months ago

furaiev commented 9 months ago

Hello, thank you for you package,

It looks like caching ignores .dart_tool folder. In a multipackaged project event pub get takes a lot of time and I would like to run this command once and cache the result for reuse in other actions. Is it possible to add .dart_tool in cache?

subosito commented 8 months ago

Hi @furaiev, you can use https://github.com/marketplace/actions/cache for this.