Adding git config
All checks were successful
sample gradle build and test / build (pull_request) Successful in 1m14s
sample gradle build and test / tag (push) Successful in 7s
sample gradle build and test / build (push) Successful in 2m35s

This commit is contained in:
hitanshu310 2025-06-10 23:45:42 +05:30
parent 5b8735bf58
commit 33682a4425

View File

@ -44,6 +44,7 @@ jobs:
uses: gradle/actions/wrapper-validation@v3 uses: gradle/actions/wrapper-validation@v3
- name: Create and push tag - name: Create and push tag
run: | run: |
echo "NEW_VERSION=${{ needs.tag.outputs.new_version }}"
git config --global user.name "${{gitea.actor}}" git config --global user.name "${{gitea.actor}}"
git config --global user.email "${{ gitea.actor }}@users.noreply.github.com" git config --global user.email "${{ gitea.actor }}@users.noreply.github.com"
git tag -a ${{ needs.tag.outputs.new_version }} -m "Pushing new version ${{ needs.tag.outputs.new_version }}" git tag -a ${{ needs.tag.outputs.new_version }} -m "Pushing new version ${{ needs.tag.outputs.new_version }}"