From 71d3663d138f912fc5cd20b53bd7595cdfd89632 Mon Sep 17 00:00:00 2001 From: Michael Wathen Date: Wed, 15 Nov 2023 10:53:07 +0000 Subject: [PATCH] Fixing 0D GOTM version --- github-actions/fabm0d-gotm-ersem/fabm0d-gotm-ersem-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 c8dc461..0fa5bc1 100755 --- a/github-actions/fabm0d-gotm-ersem/fabm0d-gotm-ersem-build.sh +++ b/github-actions/fabm0d-gotm-ersem/fabm0d-gotm-ersem-build.sh @@ -18,7 +18,9 @@ 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 +# Od driver needs a stable version of GOTM, currently that is v6 +cd gotm && git checkout v6.0 && git submodule update --init --recursive && cd .. echo "Checking out branch: $BRANCH" cd ersem && git checkout $BRANCH && cd ..