From e5766a27338b4ce9b3d711bdb5e79ffb509b988f Mon Sep 17 00:00:00 2001 From: Michael Wathen Date: Tue, 14 Nov 2023 12:09:31 +0000 Subject: [PATCH] Updating gotm version in tests --- github-actions/fabm0d-gotm-ersem/fabm0d-gotm-ersem-build.sh | 3 +-- github-actions/gotm-fabm-ersem/gotm-fabm-ersem-build.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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..68d343e 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 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..46a1404 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 echo "Checking out branch: $BRANCH" cd ersem && git checkout $BRANCH && cd ..