File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Maven Central Repo Deployment
2+ on :
3+ release :
4+ types : [ released ]
5+ jobs :
6+ publish-central :
7+ runs-on : ubuntu-latest
8+ steps :
9+
10+ - name : Checkout Git Repo
11+ uses : actions/checkout@v4
12+
13+ - name : Set up Apache Maven Central
14+ uses : actions/setup-java@v4
15+ with :
16+ distribution : ' zulu'
17+ java-version : ' 17'
18+ server-id : central
19+ server-username : SERVER_USERNAME
20+ server-password : SERVER_PASSWORD
21+ gpg-private-key : ${{ secrets.GPG_SECRET }}
22+ gpg-passphrase : GPG_PASSPHRASE
23+
24+ - name : Publish to Apache Maven Central
25+ run : mvn deploy
26+ env :
27+ SERVER_USERNAME : ${{ secrets.SERVER_USERNAME }}
28+ SERVER_PASSWORD : ${{ secrets.SERVER_PASSWORD }}
29+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSWORD }}
You can’t perform that action at this time.
0 commit comments