Skip to content

Commit e082104

Browse files
committed
Fix GH Actions release script (attempt #N+3)
1 parent e1e0abe commit e082104

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ 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-
1511
- name: Set up JDK
1612
uses: actions/setup-java@v4
1713
with:
@@ -24,6 +20,11 @@ jobs:
2420
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
2521
gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
2622

23+
- name: Setup git profile
24+
run: |
25+
git config user.name "github-actions[bot]"
26+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
27+
2728
- name: Release new version
2829
run: mvn -Dmaven.test.skip=true -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
2930
env:

0 commit comments

Comments
 (0)