Skip to content

Commit

Permalink
Add git config when pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelshin committed Apr 27, 2023
1 parent 26f9429 commit dc180ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-vsix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
build-vsix:
runs-on: ubuntu-latest
env:
CI_COMMIT_AUTHOR: CentML
steps:
- name: Fetch repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -38,6 +40,8 @@ jobs:
- name: Commit updated version number and tag it
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git commit -am "Release version ${{ github.event.inputs.tag }}"
git push origin release/${{ github.event.inputs.tag }}
git tag ${{ github.event.inputs.tag }}
Expand Down

0 comments on commit dc180ac

Please sign in to comment.