File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 tag : ${{ steps.changelog.outputs.tag }}
2828 steps :
2929 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+ with :
31+ token : ' ${{ secrets.GIT_COMMIT_TOKEN }}'
3032
3133 - name : Set up JDK 17
3234 uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
@@ -154,14 +156,14 @@ jobs:
154156 server-id : central
155157 server-username : MAVEN_CENTRAL_USERNAME
156158 server-password : MAVEN_CENTRAL_PASSWORD
157- gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
159+ gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
158160 gpg-passphrase : MAVEN_GPG_PASSPHRASE
159161
160162 - name : Build and publish to Maven Central
161163 run : mvn -B -Ppublishing deploy
162164 env :
163- MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
164- MAVEN_CENTRAL_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
165+ MAVEN_CENTRAL_USERNAME : ${{ secrets.CENTRAL_USERNAME }}
166+ MAVEN_CENTRAL_PASSWORD : ${{ secrets.CENTRAL_TOKEN }}
165167 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
166168
167169 - name : Collect release artifacts
You can’t perform that action at this time.
0 commit comments