Skip to content

Commit

Permalink
update clone depth
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwentao committed Jun 27, 2024
1 parent 493242d commit e265422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
rm -rf k230_linux_sdk
echo "set github proxy"
git config --global https.proxy ${{ secrets.GH_PROXY }}
git clone --depth=0 --branch=${PR_BRANCH} https://github.com/${PR_REPO} k230_linux_sdk || git clone --depth=0 --branch=${PR_BRANCH} https://github.com/${PR_REPO} k230_linux_sdk
git clone --depth=10 --branch=${PR_BRANCH} https://github.com/${PR_REPO} k230_linux_sdk || git clone --depth=10 --branch=${PR_BRANCH} https://github.com/${PR_REPO} k230_linux_sdk
cd k230_linux_sdk
git fetch origin ${PR_BRANCH}:${PR_BRANCH} || exit 1
git checkout ${PR_BRANCH} || exit 1
Expand Down

0 comments on commit e265422

Please sign in to comment.