Skip to content

Commit 3b67181

Browse files
committed
Fix release GH script (attempt #N)
1 parent a844db9 commit 3b67181

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,9 @@ jobs:
2020
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
2121
gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
2222

23-
- name: Setup git profile
24-
run: |
25-
git config --global user.name "github-actions[bot]"
26-
git config --global user.email "123456+github-actions[bot]@users.noreply.github.com"
27-
2823
- name: Release new version
29-
run:
30-
mvn -Dmaven.test.skip=true -ntp -B release:clean release:prepare release:perform -P release
24+
run: mvn -Dmaven.test.skip=true -ntp -B release:clean release:prepare release:perform -P release
3125
env:
3226
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3327
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3428
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)