Skip to content

Commit

Permalink
chore(ci): add setting up git identity
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszjenek committed Jun 11, 2024
1 parent 079b3f0 commit 4d278db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
if: runner.os == 'Linux'
run: npx vsce package

- name: Set git identity
if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Publish
if: success() && startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
run: npx vsce publish ${{ github.ref_name }}
Expand Down

0 comments on commit 4d278db

Please sign in to comment.