From 0b6d70d351ebfdfae23d6a993f238d912accda5f Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 8 Dec 2020 18:54:34 +0800 Subject: [PATCH] add default cache (#8120) --- circle.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/circle.yml b/circle.yml index b1df25a1d1..c3611c5735 100644 --- a/circle.yml +++ b/circle.yml @@ -87,6 +87,25 @@ jobs: - ~/.stack - /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work - ~/R + # save "default" cache using the key "source-v2-" + - save_cache: + key: source-v2- + paths: + # This is a broad list of cache paths to include many possible development environments + # You can probably delete some of these entries + - vendor/bundle + - ~/virtualenvs + - ~/.m2 + - ~/.ivy2 + - ~/.sbt + - ~/.bundle + - ~/.go_workspace + - ~/.gradle + - ~/.cache/bower + - ".git" + - ~/.stack + - /home/circleci/OpenAPITools/openapi-generator/samples/client/petstore/haskell-http-client/.stack-work + - ~/R # Teardown # If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each # Save test results