Skip to content

Commit f1bb21d

Browse files
committed
common.sh: do not reload ArduinoJson when already present (for locally CI testing)
1 parent 68f77a5 commit f1bb21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function install_libraries()
9494
pushd $HOME/Arduino/libraries
9595

9696
# install ArduinoJson library
97-
wget https://github.com/bblanchon/ArduinoJson/releases/download/v4.6.1/ArduinoJson-v4.6.1.zip && unzip ArduinoJson-v4.6.1.zip
97+
{ test -r ArduinoJson-v4.6.1.zip || wget https://github.com/bblanchon/ArduinoJson/releases/download/v4.6.1/ArduinoJson-v4.6.1.zip; } && unzip ArduinoJson-v4.6.1.zip
9898

9999
popd
100100
}

0 commit comments

Comments
 (0)