subosito / flutter-action

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

Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved. #311

Open simplenotezy opened 3 months ago

simplenotezy commented 3 months ago

I notice the following error message post run:

Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
image

Not sure if it's relevant; it does seem to save some cache after all.

rolandmosimann commented 2 months ago

@simplenotezy I had the same problem, so I removed the pub-cache-path: "${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:" # optional, change this to specify the cache path and it worked. Maybe worth trying.