From ebcdc3eb5d95c792639e338b385deb2a2a75a2f6 Mon Sep 17 00:00:00 2001 From: Dan Caseley Date: Tue, 21 Jul 2020 17:00:15 +0100 Subject: [PATCH] Fix app cache check - apps are directories not files --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2010e0033..5aaa81a7b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -187,7 +187,7 @@ commands: name: if cache exists exit command: | FILE=/Users/distiller/project/ios/build/Build/Products/Release-iphonesimulator/RocketChatRN.app - if test -f "$FILE"; then + if [ -e “$FILE” ]; then echo "App restored from cache. Halting build." circleci step halt else