Skip to content

Commit

Permalink
ci(release): git config
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Feb 18, 2024
1 parent 67cfbbc commit 685d70b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ jobs:
cd ./temp && zip -r ../ox_core.zip ./ox_core
- name: Bump package version
run: pnpm version ${{ github.ref_name }}
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
pnpm version ${{ github.ref_name }}
- name: Publish npm package
uses: JS-DevTools/npm-publish@v1
Expand All @@ -65,8 +68,6 @@ jobs:

- name: Update repository
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -am '${{ github.ref_name }}'
git push
Expand Down

0 comments on commit 685d70b

Please sign in to comment.