File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -63,31 +63,13 @@ jobs:
6363 echo "EOF" >> $GITHUB_ENV
6464 rm -f signing_key.asc
6565 fi
66- echo $OSSRH_USERNAME
67- echo $SIGNING_KEY_ID
68-
69- - name : List env
70- env :
71- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
72- OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
73- SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
74- SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
75- run : |
76- echo "User"
77- echo $OSSRH_USERNAME
78- echo "User2"
79- echo ${{ secrets.OSSRH_USERNAME }}
80- echo "Key"
81- echo $SIGNING_KEY_ID
82-
83-
66+
8467 - name : Publish to Maven Central
8568 env :
8669 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
8770 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD }}
88- SIGNING_KEY_ID : ${{ secrets.SIGNING_KEY_ID }}
8971 SIGNING_PASSWORD : ${{ secrets.SIGNING_PASSWORD }}
90- run : ./gradlew publish --no-daemon --stacktrace
72+ run : ./gradlew publishMavenPublicationToOSSRHRepository --no-daemon --stacktrace
9173
9274 # - name: Publish to GitHub Packages
9375 # env:
Original file line number Diff line number Diff line change @@ -123,8 +123,6 @@ subprojects {
123123 if (System .getenv(" SIGNING_KEY" ) != null ) {
124124 val signingKey = System .getenv(" SIGNING_KEY" )
125125 val signingPassword = System .getenv(" SIGNING_PASSWORD" ) ? : " "
126- println (" >>>> KeyLength=" + signingKey.length + " > " + signingKey.substring(0 , 10 ))
127- println (" >>>> PassLength=" + signingPassword.length + " > " + signingPassword.substring(0 , 2 ))
128126 // Use 2-parameter version which only needs the key and password (no keyId)
129127 useInMemoryPgpKeys(signingKey, signingPassword)
130128 }
You can’t perform that action at this time.
0 commit comments