Skip to content

Commit

Permalink
Configure GH before creating a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
45930 committed Dec 11, 2024
1 parent 9b6b474 commit 7fdae2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ jobs:
env:
INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Configure Git
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
- name: Tag new version
if: ${{ steps.publish.outputs.type }} # https://github.com/JS-DevTools/npm-publish?tab=readme-ov-file#action-output
env:
Expand Down

0 comments on commit 7fdae2a

Please sign in to comment.