Update gen_vc.yml

pull/9622/head
Alexander Medvednikov 2021-04-07 02:16:17 +02:00 committed by GitHub
parent 018a88c3ce
commit 6d2d51a9cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -15,14 +15,14 @@ jobs:
- name: Regenerate v.c and v_win.c
run: |
git config http.sslVerify false
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "vlang-bot@users.noreply.github.com"
git config --global user.name "vlang-bot"
COMMIT_HASH=$(git rev-parse --short HEAD)
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
rm -rf vc
git clone https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/vlang/vc.git
git clone https://${GITHUB_ACTOR}:${{ secrets.VLANG_BOT_SECRET }}@github.com/vlang/vc.git
rm -rf vc/v.c vc/v_win.c