From a4a9161fb915df1792f41bf15f40e72e87b75c8b Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Mon, 30 Jun 2025 13:26:01 -0400 Subject: [PATCH] Update clone/action.yaml --- clone/action.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/clone/action.yaml b/clone/action.yaml index d466694..ac4f55b 100644 --- a/clone/action.yaml +++ b/clone/action.yaml @@ -19,8 +19,15 @@ runs: - name: Creat authorized Git URL run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV shell: sh + - name: Clone repository uses: docker://alpine/git with: - entrypoint: sh - args: git clone -b "${{github.ref_name}}" "${{env.URL}}" . && git submodule update --init --recursive + entrypoint: git + args: clone -b "${{github.ref_name}}" "${{env.URL}}" . + + - name: Clone submodules + uses: docker://alpine/git + with: + entrypoint: git + args: submodule update --init --recursive