From 2d3ad7f1ae332649adfc02606174493df4f313df Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Sat, 25 Aug 2018 12:40:10 +0100 Subject: Circle 2.0: Use workspace instead of cache (#4291) --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d563a70db..11be687a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,16 +7,16 @@ jobs: steps: - checkout - run: git submodule update --init - - save_cache: - key: "cuberite-{{ .Environment.CIRCLE_SHA1 }}" + - persist_to_workspace: + root: ~/ paths: - - ~/cuberite + - cuberite check_basic_style: working_directory: ~/cuberite/src docker: *cube_docker steps: - - restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] } + - attach_workspace: { at: ~/ } - run: find . -name \*.cpp -or -name \*.h > AllFiles.lst - run: lua CheckBasicStyle.lua - run: cd Bindings && lua CheckBindingsDependencies.lua @@ -25,7 +25,7 @@ jobs: working_directory: ~/cuberite docker: *cube_docker steps: - - restore_cache: { keys: [ "cuberite-{{ .Environment.CIRCLE_SHA1 }}" ] } + - attach_workspace: { at: ~/ } - run: ./clang-tidy.sh -j 2 workflows: -- cgit v1.2.3