title: gitlab ci cache no matching files
body: <p>I try to build apk with gitlab runner</p>
  
  <p>When I build apk, I don't want download all build pacakage everytime</p>
  
  <p>so i try to caching .gradle/caches and .gradle/wrappers</p>
  
  <p>following is my gitlab-ci.yml</p>
  
  <pre><code>sdk_build_job
    image: myimage:latest
    stage: sdk-build
    script:
      ...
    cache:
      key: gradle-cache
        - /root/.gradle/caches
        - /root/.gradle/wrapper
  </code></pre>
  
  <p>but create gradle-cache always make an warning </p>
  
  <pre><code>Creating cache gradle-cache...
  WARNING: /root/.gradle/caches: no matching files       
  WARNING: /root/.gradle/wrapper: no matching files      
  Archive is up to date!                             
  </code></pre>
  
  <p>I don't know why can't find caches and wrapper directory</p>
  
  <p>When i into docker container and find the folders, there were well positioned</p>
  
  <pre><code>root@runner-3d9fa57b-project-4-concurrent-0:~/.gradle# pwd
  /root/.gradle
  root@runner-3d9fa57b-project-4-concurrent-0:~/.gradle# ls -al
  total 28
  drwxr-xr-x 7 root root 4096 Dec 28 02:21 .
  drwx------ 1 root root 4096 Dec 28 02:19 ..
  drwxr-xr-x 6 root root 4096 Dec 28 02:20 caches
  drwxr-xr-x 3 root root 4096 Dec 28 02:19 daemon
  drwxr-xr-x 4 root root 4096 Dec 28 02:19 native
  drwxr-xr-x 2 root root 4096 Dec 28 02:21 workers
  drwxr-xr-x 3 root root 4096 Dec 28 02:19 wrapper
  </code></pre>
  
  <p>Please help me.......</p>