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