diff --git a/github-actions/gotm-fabm-ersem/gotm-fabm-ersem-build.sh b/github-actions/gotm-fabm-ersem/gotm-fabm-ersem-build.sh index bc3c60c..eb35e64 100755 --- a/github-actions/gotm-fabm-ersem/gotm-fabm-ersem-build.sh +++ b/github-actions/gotm-fabm-ersem/gotm-fabm-ersem-build.sh @@ -17,7 +17,8 @@ echo "Cloning FABM" git clone https://github.com/fabm-model/fabm.git echo "Cloning GOTM" -git clone --recursive https://github.com/gotm-model/code.git gotm +git clone https://github.com/gotm-model/code.git gotm +cd gotm && git checkout v6.0 && git submodule update --init --recursive && cd .. echo "Checking out branch: $BRANCH" cd ersem && git checkout $BRANCH && cd ..