mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: add git authentication to the vc job (#9599)
This commit is contained in:
parent
92f40f9642
commit
6ed50e7678
6
.github/workflows/gen_vc.yml
vendored
6
.github/workflows/gen_vc.yml
vendored
@ -14,11 +14,15 @@ jobs:
|
||||
run: make
|
||||
- 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]"
|
||||
|
||||
COMMIT_HASH=$(git rev-parse --short HEAD)
|
||||
COMMIT_MSG=$(git log -1 --oneline --pretty='%s' HEAD)
|
||||
|
||||
rm -rf vc
|
||||
git clone https://github.com/vlang/vc
|
||||
git clone https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/vlang/vc.git
|
||||
|
||||
rm -rf vc/v.c vc/v_win.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user