Skip to content

Commit

Permalink
add git name to build
Browse files Browse the repository at this point in the history
  • Loading branch information
sadraiiali committed Apr 22, 2024
1 parent b5a7563 commit 8db68e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
- name: tag the version
if: steps.check_tag.outcome == 'success'
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git tag -a "${{ steps.cmake_version.outputs.version }}" -m "Version ${{ steps.cmake_version.outputs.version }}"
git push origin "${{ steps.cmake_version.outputs.version }}"
Expand Down Expand Up @@ -106,7 +108,7 @@ jobs:
run: |
curl -s -o /dev/null -w "%{http_code}" https://api.github.com/repos/${{ github.repository }}/releases/tags/${{ github.ref_name }} -u ${{ secrets.GITHUB_TOKEN }}:
echo "::set-output name=release_exists::${{ steps.check_release.outputs.stdout }}"
# ------------------------------------------- Release
- name: Create Release
id: create_release
Expand Down

0 comments on commit 8db68e5

Please sign in to comment.