From 777b3dd8db7c03bd420a4de90e12447f0d2b04f5 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Sun, 21 Apr 2024 18:04:42 +0200 Subject: [PATCH] recurse submodules when cloning --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 27be09c..097fee5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,7 +9,7 @@ mkdir -p ${WORLDPATH}/worldmods/ cd ${WORLDPATH}/worldmods/ for dep in ${INPUT_GIT_DEPENDENCIES} do - git clone --depth=1 $dep + git clone --recurse-submodules --depth=1 $dep done # add the mtt mod if it does not exist @@ -20,7 +20,7 @@ fi # install game cd ${WORLDPATH}/ -git clone --depth=1 ${INPUT_GIT_GAME_REPO} game +git clone --recurse-submodules --depth=1 ${INPUT_GIT_GAME_REPO} game # create link to current mod ln -s /github/workspace ${WORLDPATH}/worldmods/${INPUT_MODNAME}