Skip to content

Commit

Permalink
Properly set the email for CI commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelshin committed Apr 28, 2023
1 parent fef23ad commit 158ed16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-vsix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
CI_COMMIT_AUTHOR: CentML
CI_COMMIT_EMAIL: centml-machine-user@users.noreply.github.com
steps:
- name: Fetch repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -41,15 +42,15 @@ 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 config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
git commit -am "Release version ${{ github.event.inputs.tag }}"
git push origin release/${{ github.event.inputs.tag }}
git tag ${{ github.event.inputs.tag }}
- name: Build VSIX
run: |
scripts/build_vsix.sh
- name: Publish to VSCode Marketplace
run: |
vsce publish -p ${{ secrets.AZURE_PAT }} -i deepview-explore/deepview-explore-${{ github.event.inputs.tag}}.vsix
Expand Down

0 comments on commit 158ed16

Please sign in to comment.