From efe516857a8177bfbc95af7a5aeda63c565ece25 Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 9 Mar 2018 15:30:58 -0800 Subject: ci - adjust scss cache key --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.circleci') diff --git a/.circleci/config.yml b/.circleci/config.yml index 0eb046136..9cd0a24ec 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: - run: name: Get Scss Cache key # this allows us to checksum against a whole directory - command: ls -laR ui/app/css/ > scss_checksum + command: find ui/app/css -type f -exec md5sum {} \; | sort -k 2 > scss_checksum - run: name: Build for integration tests command: npm run test:integration:build @@ -118,7 +118,7 @@ jobs: - run: name: Get Scss Cache key # this allows us to checksum against a whole directory - command: ls -laR ui/app/css/ > scss_checksum + command: find ui/app/css -type f -exec md5sum {} \; | sort -k 2 > scss_checksum - restore_cache: key: scss-cache-{{ checksum "scss_checksum" }} - run: @@ -144,7 +144,7 @@ jobs: - run: name: Get Scss Cache key # this allows us to checksum against a whole directory - command: ls -laR ui/app/css/ > scss_checksum + command: find ui/app/css -type f -exec md5sum {} \; | sort -k 2 > scss_checksum - restore_cache: key: scss-cache-{{ checksum "scss_checksum" }} - run: -- cgit v1.2.3