Skip to content

Commit

Permalink
Release action: Setup Git User and use -ntp for Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Apr 18, 2023
1 parent 1d4d4f3 commit 994b84e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
java-version: 11
distribution: 'temurin'
cache: maven

- name: Setup Git user
uses: fregante/setup-git-user@v2

- name: Publish to GitHub Packages
run: |
git config user.name "${{ github.event.head_commit.committer.name }}"
git config user.email "${{ github.event.head_commit.committer.email }}"
mvn -B release:prepare release:perform
run: mvn -ntp -B release:prepare release:perform
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 994b84e

Please sign in to comment.