From a7a522df48a4ce145933f9ca62e0f2efed17c742 Mon Sep 17 00:00:00 2001 From: Daniel Brunner Date: Tue, 4 Jan 2022 21:39:46 +0100 Subject: [PATCH] Hopefully fix --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 4dffe3c..daa3905 100644 --- a/action.yml +++ b/action.yml @@ -36,10 +36,11 @@ runs: then echo "Cache hit - skipping submodule update" else - REPO_ARGS= if [[ ! -z "${{ inputs.repo }}" ]] then REPO_ARGS=(-C "${{ inputs.repo }}") + else + REPO_ARGS=() fi git "${REPO_ARGS[@]}" submodule update --init --recursive ${{ inputs.submodule }}