Skip to content

Commit 1503eb9

Browse files
committed
update gh action: add git config
1 parent 0601f4d commit 1503eb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
- name: Setup git user
19+
run: |
20+
git config --global user.name "$(git --no-pager log --format=format:'%an' -n 1)"
21+
git config --global user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
1822
- name: Clean-install npm dependencies
1923
run: npm ci
2024
- name: Generate nuxt files

0 commit comments

Comments
 (0)