Skip to content

Commit 7764d1b

Browse files
committed
fix ci again
1 parent 8b8375d commit 7764d1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,27 @@ runs:
3333
if [ -z "${{ inputs.access-token }}" ]; then
3434
if [ -z "${{ inputs.depth }}" ]; then
3535
if [ "${{ inputs.submodule }}" = "true" ]; then
36-
git clone --branch "${{ inputs.branch }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --init --recursive
36+
git clone --branch "${{ inputs.branch }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --recursive
3737
else
3838
git clone --branch "${{ inputs.branch }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git
3939
fi
4040
else
4141
if [ "${{ inputs.submodule }}" = "true" ]; then
42-
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --init --recursive
42+
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --recursive
4343
else
4444
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://github.com/${{ inputs.owner }}/${{ inputs.repository }}.git
4545
fi
4646
fi
4747
else
4848
if [ -z "${{ inputs.depth }}" ]; then
4949
if [ "${{ inputs.submodule }}" = "true" ]; then
50-
git clone --branch "${{ inputs.branch }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --init --recursive
50+
git clone --branch "${{ inputs.branch }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --recursive
5151
else
5252
git clone --branch "${{ inputs.branch }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git
5353
fi
5454
else
5555
if [ "${{ inputs.submodule }}" = "true" ]; then
56-
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --init --recursive
56+
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git --recursive
5757
else
5858
git clone --branch "${{ inputs.branch }}" --depth="${{ inputs.depth }}" https://${{ inputs.access-token }}@github.com/${{ inputs.owner }}/${{ inputs.repository }}.git
5959
fi

0 commit comments

Comments
 (0)