From cba1e7cadc0a57f00a7cd4659ece28ff5bab5118 Mon Sep 17 00:00:00 2001 From: Brendan Date: Mon, 2 Sep 2024 16:05:00 +0200 Subject: [PATCH] Update for github ci --- .build/linux64.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.build/linux64.sh b/.build/linux64.sh index 6d1f52d..3a5e4b5 100644 --- a/.build/linux64.sh +++ b/.build/linux64.sh @@ -64,9 +64,15 @@ echo "INFO: Locating $bin_var" paths=$(which -a $bin_var) executable=$(echo "$paths" | grep "^$HOME") -if [ -z "$executable" ]; then +if [ -z "$executable" ] && [ $bin_var != "conda" ]; then echo "Cannot find binary for: $bin_var" exit 1 +elif [ -z "$executable" ]; then +executable="/home/runner/miniconda3/condabin/conda" + if [ ! -e $executable]; then + echo "Cannot find binary for: $bin_var" + exit 1 + fi fi # if [ -z "$executable" ]