Update clone/action.yaml

This commit is contained in:
2025-06-30 13:26:01 -04:00
parent 8d54aa4fc5
commit a4a9161fb9

View File

@ -19,8 +19,15 @@ runs:
- name: Creat authorized Git URL - name: Creat authorized Git URL
run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV
shell: sh shell: sh
- name: Clone repository - name: Clone repository
uses: docker://alpine/git uses: docker://alpine/git
with: with:
entrypoint: sh entrypoint: git
args: git clone -b "${{github.ref_name}}" "${{env.URL}}" . && git submodule update --init --recursive args: clone -b "${{github.ref_name}}" "${{env.URL}}" .
- name: Clone submodules
uses: docker://alpine/git
with:
entrypoint: git
args: submodule update --init --recursive