mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: gen_vc: fix a race
This commit is contained in:
parent
66d3917554
commit
8dbe323dff
3
.github/workflows/gen_vc.yml
vendored
3
.github/workflows/gen_vc.yml
vendored
@ -21,8 +21,6 @@ jobs:
|
||||
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
|
||||
|
||||
rm -rf vc
|
||||
echo "cloning, secret="
|
||||
echo "${{ secrets.VLANG_BOT_SECRET }}"
|
||||
git clone https://vlang-bot:${{ secrets.VLANG_BOT_SECRET }}@github.com/vlang/vc.git
|
||||
|
||||
rm -rf vc/v.c vc/v_win.c
|
||||
@ -40,4 +38,5 @@ jobs:
|
||||
git -C vc add v.c v_win.c
|
||||
git -C vc commit -m "[v:master] $COMMIT_HASH - $COMMIT_MSG"
|
||||
|
||||
git pull --rebase origin master # in case there are recent commits
|
||||
git -C vc push
|
||||
|
Loading…
Reference in New Issue
Block a user