I’m experiencing the exact same problem. The output does tell me it’s extracting the cache, and also creating the cache at the end, however, it’s empty when I do an ls. Has anyone else come across this issue on Gitlab CI (hosted by gitlab.com) and/or found a solution?
Edit: I have reported this to Gitlab support for further investigation.
cache is used to specify a list of files and directories which should be cached between jobs.
As I understand it is not intended to cache files between builds (pipelines in terms of GitLab). It looks some strange to me to cache files between builds.
Upd. I’m sorry, futher in the help
By default caching is enabled and shared between pipelines and jobs, starting from GitLab 9.0