Skip to content

Commit a4a7917

Browse files
committed
Fix release GH script (attempt #N+2)
1 parent da5f22a commit a4a7917

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11+
run: |
12+
git config user.name "github-actions[bot]"
13+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
14+
1115
- name: Set up JDK
1216
uses: actions/setup-java@v4
1317
with:
@@ -20,11 +24,6 @@ jobs:
2024
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
2125
gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
2226

23-
- name: Setup git profile
24-
run: |
25-
git config user.name "GitHub Actions"
26-
git config user.email "[email protected]"
27-
2827
- name: Release new version
2928
run: mvn -Dmaven.test.skip=true -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
3029
env:

0 commit comments

Comments
 (0)