File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
steps :
11
11
- uses : actions/checkout@v4
12
+ -
uses :
webfactory/[email protected]
13
+ with :
14
+ ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
15
+
16
+ - name : Setup git profile
17
+ run : |
18
+ git config user.name "github-actions[bot]"
19
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
20
+
12
21
- name : Set up JDK
13
22
uses : actions/setup-java@v4
14
23
with :
21
30
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
22
31
gpg-passphrase : MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
23
32
24
- - name : Setup git profile
25
- run : |
26
- git config --global user.name "github-actions[bot]"
27
- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
28
-
29
33
- name : Release new version
30
34
run : mvn clean -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
31
35
env :
32
36
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
33
37
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
34
38
MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
35
- GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments