File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Publish JRE17 to the Maven Central
1+ name : Publish JRE8 to the Maven Central
2+
23on :
34 release :
45 types : [created]
@@ -11,20 +12,22 @@ jobs:
1112 environment : maven-central
1213 steps :
1314 - uses : actions/checkout@v4
14- - name : Set up JDK 17
15+ - name : Set up JDK 8
1516 uses : actions/setup-java@v4
1617 with :
17- java-version : ' 17 '
18+ java-version : 8
1819 distribution : ' temurin'
1920 cache : ' maven'
20- server-id : ossrh
21- server-username : OSSRH_USERNAME
22- server-password : OSSRH_TOKEN
21+ server-id : central
22+ server-username : CENTRAL_TOKEN_ID
23+ server-password : CENTRAL_TOKEN_SECRET
2324 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2425 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2526 - name : Publish package
2627 run : mvn -B -Pmaven-central deploy
2728 env :
28- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
29- OSSRH_TOKEN : ${{ secrets.OSSRH_TOKEN }}
29+ CENTRAL_TOKEN_ID : ${{ secrets.CENTRAL_TOKEN_ID }}
30+ CENTRAL_TOKEN_SECRET : ${{ secrets.CENTRAL_TOKEN_SECRET }}
3031 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
32+ MAVEN_GPG_KEY : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
33+
You can’t perform that action at this time.
0 commit comments