FIXED -- Cache Specific File with save_cache

cache

#1

FIXED – The issue was the cache key was the same so the new paths were not added

From the docs on save_cache:

Generates and stores a cache of a file or directory of files such as dependencies or source code in our object storage

So I tried to cache a file in my project’s working directory

- &save-js-cache
    paths:
      - node_modules
      - .cache/yarn
      - pd/static/bundles
      - webpack-stats.json
    key: dependencies-{{ .Branch }}-js-{{ checksum "yarn.lock" }}

the directories cache just fine, but the webpack-stats.json file isn’t being cached, am I missing something here?


#2

Adding Fix for Visibility.


#3

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.