Hi.
I've set up a pipeline to generate Flutter APKs. It's working fine except for caching of Flutter dependencies.
Here's my bitbucket-pipelines.yml file with simplified steps for posting here.
image: cirrusci/flutter:latest
pipelines:
custom:
generate-apk:
- step:
name: Flutter lint, test and build
script:
- flutter pub get
caches:
- pubcache
definitions:
caches:
pubcache: $HOME/.pub-cache
Build set up outputs:
Cache "pubcache": Downloading
Cache "pubcache": Not found
If I head over to Pipelines and click on the `Cache` button I see this:

It's definitely there and under the 1GB limit.
Why is it downloading it but then not finding it? Or is it just now downloading it?
Any ideas?
Thanks!