github: use --depth=1 in gen_vc.yml

pull/10679/head
Delyan Angelov 2021-07-06 14:17:23 +03:00
parent 1e6230a441
commit 4169602a46
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
rm -rf vc
git clone https://vlang-bot:${{ secrets.VLANG_BOT_SECRET }}@github.com/vlang/vc.git
git clone --depth=1 https://vlang-bot:${{ secrets.VLANG_BOT_SECRET }}@github.com/vlang/vc.git
rm -rf vc/v.c vc/v_win.c