From 59bef6afd6a82300190be3fb4873fd1594c27d43 Mon Sep 17 00:00:00 2001 From: Zanger67 Date: Fri, 26 Jul 2024 18:40:14 -0700 Subject: [PATCH] ensuring that the most recent data submodule is used --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/action.yml b/action.yml index e197c2e..9974c13 100644 --- a/action.yml +++ b/action.yml @@ -33,6 +33,12 @@ runs: shell: bash run: | git clone --recurse-submodules https://github.com/Zanger67/Leetcode-Progress-Tracker.git '.readme_updater' + + cd .readme_updater + echo "Initializing and updating submodules in case checkout resulted in uninitializations..." + git submodule update --init --recursive + git submodule update --recursive --remote + cd ../ # if [ -d .readme_updater/ ]; then # echo "Submodule exists."