github: change gen_vc.yml to use `git config --global` (suggestion by spaceface)
parent
6b2f8196ac
commit
337f764367
|
@ -15,8 +15,8 @@ jobs:
|
||||||
- name: Regenerate v.c and v_win.c
|
- name: Regenerate v.c and v_win.c
|
||||||
run: |
|
run: |
|
||||||
git config http.sslVerify false
|
git config http.sslVerify false
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
|
|
||||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||||
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
|
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
|
||||||
|
|
Loading…
Reference in New Issue