File tree Expand file tree Collapse file tree 2 files changed +22
-28
lines changed Expand file tree Collapse file tree 2 files changed +22
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 42
42
prerelease : false
43
43
title : " Release v${{ env.RELEASE_VERSION }}"
44
44
files : |
45
- staging/*.jar
45
+ staging/*.jar
46
+
47
+ publish :
48
+ runs-on : ubuntu-latest
49
+ environment : production
50
+ steps :
51
+ - uses : actions/checkout@v4
52
+ - name : Set up Maven Central Repository
53
+ uses : actions/setup-java@v3
54
+ with :
55
+ java-version : ' 8'
56
+ distribution : ' temurin'
57
+ cache : ' maven'
58
+
59
+ - name : Publish to the Maven Central Repository
60
+ uses : samuelmeuli/action-maven-publish@v1
61
+ with :
62
+ maven_args : ' -DskipTests'
63
+ gpg_private_key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
64
+ gpg_passphrase : ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
65
+ nexus_username : ${{ secrets.OSSRH_USERNAME }}
66
+ nexus_password : ${{ secrets.OSSRH_TOKEN }}
You can’t perform that action at this time.
0 commit comments