Fix app cache check - apps are directories not files
This commit is contained in:
parent
19c129d4d7
commit
ebcdc3eb5d
|
@ -187,7 +187,7 @@ commands:
|
||||||
name: if cache exists exit
|
name: if cache exists exit
|
||||||
command: |
|
command: |
|
||||||
FILE=/Users/distiller/project/ios/build/Build/Products/Release-iphonesimulator/RocketChatRN.app
|
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."
|
echo "App restored from cache. Halting build."
|
||||||
circleci step halt
|
circleci step halt
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue