github: change gen_vc.yml to use `git config --global` (suggestion by spaceface)

pull/9605/head
Delyan Angelov 2021-04-06 00:06:28 +03:00
parent 6b2f8196ac
commit 337f764367
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ jobs:
- name: Regenerate v.c and v_win.c
run: |
git config http.sslVerify false
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
COMMIT_HASH=$(git rev-parse --short HEAD)
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)