File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 8484 SIGNING_PASSPHRASE : ${{ secrets.SIGNING_PASSPHRASE }}
8585 SECRING_FILE : ${{ secrets.SECRING_FILE }}
8686 with :
87- arguments : -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg publishToSonatype closeAndReleaseSonatypeStagingRepository
87+ arguments : |
88+ -Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
89+ publishToSonatype
90+ closeSonatypeStagingRepository
91+ release :
92+ needs : publish
93+ runs-on : ubuntu-latest
94+ permissions :
95+ contents : read
96+ steps :
97+ - uses : actions/checkout@v4
98+ - name : Set up JDK
99+ uses : actions/setup-java@v4
100+ with :
101+ distribution : ' adopt'
102+ java-version : ' 11'
103+ - name : Checkout repository
104+ uses : actions/checkout@v4
105+ with :
106+ token : ${{ secrets.GH_TOKEN }}
107+ ref : v${{ needs.publish.outputs.release_version }}
108+ - name : Nexus Staging Close And Release
109+ uses : gradle/gradle-build-action@v2
110+ env :
111+ GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
112+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
113+ GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY : ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
114+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
115+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
116+ SONATYPE_STAGING_PROFILE_ID : ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
117+ with :
118+ arguments : |
119+ findSonatypeStagingRepository
120+ releaseSonatypeStagingRepository
88121 - name : Run post-release
89122 if : success()
90123 uses : ./.github/actions/post-release
You can’t perform that action at this time.
0 commit comments