File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 environment : Build
2020 steps :
2121 - name : Checkout Code
22- uses : actions/checkout@v5
22+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
2424 - name : Set up JDK 17 for x64
25- uses : actions/setup-java@v5
25+ uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
2626 with :
2727 java-version : ' 17'
2828 distribution : ' temurin'
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ jobs:
2222 id-token : write
2323 steps :
2424 - name : Checkout Code
25- uses : actions/checkout@v5
25+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626 with :
2727 ssh-key : ${{ secrets.RELEASE_DEPLOY_KEY }}
2828 fetch-depth : 0
2929 ref : ${{ github.event.inputs.branch }}
3030
3131 - name : Set up JDK 17 for x64
32- uses : actions/setup-java@v5
32+ uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
3333 with :
3434 java-version : ' 17'
3535 distribution : ' temurin'
5252
5353 - name : Publish package with JReleaser
5454 env :
55- JRELEASER_NEXUS2_USERNAME : ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
56- JRELEASER_NEXUS2_PASSWORD : ${{ secrets.JRELEASER_NEXUS2_PASSWORD }}
55+ JRELEASER_MAVENCENTRAL_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
56+ JRELEASER_MAVENCENTRAL_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
5757 JRELEASER_GPG_PASSPHRASE : ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
5858 JRELEASER_GPG_SECRET_KEY : ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
5959 JRELEASER_GPG_PUBLIC_KEY : ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
Original file line number Diff line number Diff line change @@ -32,15 +32,14 @@ files:
3232
3333deploy :
3434 maven :
35- nexus2 :
35+ mavenCentral :
3636 sonatype :
3737 active : ALWAYS
3838 snapshotSupported : false
39- url : https://oss.sonatype.org/service/local
40- snapshotUrl : https://oss.sonatype.org/content/repositories/snapshots
41- stagingProfileId : c3fae58a8dda9
42- closeRepository : false
43- releaseRepository : false
39+ url : https://central.sonatype.com/api/v1/publisher
40+ username : wPlqdV4c
41+ namespace : io.github.microcks
42+ applyMavenCentralRules : true
4443 stagingRepositories :
4544 - target/staging-deploy
4645 pomchecker :
You can’t perform that action at this time.
0 commit comments