From 08e7077284735925d21796b58f160e8cec6890f8 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 10 Nov 2024 04:39:18 +0100 Subject: [PATCH] Ensure submodule is correctly initialized --- .github/workflows/automatic_update.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/automatic_update.yml b/.github/workflows/automatic_update.yml index f987329..f037b8b 100644 --- a/.github/workflows/automatic_update.yml +++ b/.github/workflows/automatic_update.yml @@ -26,6 +26,17 @@ jobs: pip install requests pip install beautifulsoup4 + - name: Remove cached submodule data + run: | + git submodule deinit -f utilities + rm -rf .git/modules/utilities + git submodule update --init --recursive + # Explicitly initialize and update submodules + - name: Force submodule initialization + run: | + git submodule sync + git submodule update --init --recursive + - name: Show current working directory run: pwd