@@ -27,24 +27,20 @@ jobs:
27
27
- name : set version
28
28
run : mvn versions:set -DnewVersion=${{ steps.version.outputs.tag }}
29
29
30
- - name : Release Maven package
31
-
32
- with :
33
- gpg-enabled : " true"
34
- gpg-key : ${{ secrets.gpg_private_key }}
35
- gpg-key-passphrase : ${{ secrets.gpg_passphrase }}
36
- maven-args : " -P release"
37
- nexus-username : ${{ secrets.nexus_user_name }}
38
- nexus-password : ${{ secrets.nexus_password }}
39
- # mvn deploy -P release --settings settings.xml
30
+ - name : Release Maven package with JReleaser
31
+ run : ./deploy_with_jreleaser.sh
40
32
env :
41
- JAVA_HOME : /usr/lib/jvm/java-17-openjdk/
33
+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
34
+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
35
+ MAVEN_USERNAME_2025 : ${{ secrets.MAVEN_USERNAME_2025 }}
36
+ MAVEN_PASSWORD_2025 : ${{ secrets.MAVEN_PASSWORD_2025 }}
42
37
43
38
- name : set snapshot version
44
39
run : mvn versions:set -DnewVersion=100.0.0-SNAPSHOT
45
40
46
41
- name : re-enable formatting
47
42
run : ./set_formatting_on.sh
43
+
48
44
- name : Install Java for script
49
45
uses : actions/setup-java@v4
50
46
with :
66
62
remote="https://${GITHUB_ACTOR}:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git"
67
63
git push "${remote}" master || echo "nothing to push"
68
64
shell : bash
69
-
0 commit comments