Update gen_vc.yml
parent
018a88c3ce
commit
6d2d51a9cd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue