Skip to content

Commit 672bd25

Browse files
authored
Update main.yml
1 parent 890b310 commit 672bd25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
run: |
6464
cd "$WORKSPACE/source_repo"
6565
if [ -n "${{ github.event.inputs.branch }}" ]; then
66-
git clone --depth 100 --single-branch --branch "${{ github.event.inputs.branch }}" "${{ github.event.inputs.repo_url }}" .
66+
git clone --branch "${{ github.event.inputs.branch }}" "${{ github.event.inputs.repo_url }}" .
6767
else
68-
git clone --depth 100 --single-branch "${{ github.event.inputs.repo_url }}" .
68+
git clone "${{ github.event.inputs.repo_url }}" .
6969
fi
7070
7171
- name: 生成补丁文件

0 commit comments

Comments
 (0)