File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - 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+
1221 - name : Set up JDK
1322 uses : actions/setup-java@v4
1423 with :
2130 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
2231 gpg-passphrase : MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
2332
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-
2933 - name : Release new version
3034 run : mvn clean -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
3135 env :
3236 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
3337 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
3438 MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
35- GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments