File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2929 distribution : ' temurin'
3030 java-version : ' 25'
3131 - name : Publish to Maven Central
32- run : ./gradlew --no-daemon --info checkExisting publishToSonatype closeAndReleaseSonatypeStagingRepository -Phmcl.channel=$HMCL_UPDATE_CHANNEL
32+ run : ./gradlew --no-daemon --info publishToSonatype closeAndReleaseSonatypeStagingRepository -Phmcl.channel=$HMCL_UPDATE_CHANNEL
3333 env :
3434 SIGNING_KEY_ID : ${{ secrets.signingKeyId }}
3535 SIGNING_PASSWORD : ${{ secrets.signingPassword }}
Original file line number Diff line number Diff line change @@ -35,6 +35,15 @@ val checkExisting by tasks.registering(CheckExisting::class) {
3535 channel.set(hmclChannel)
3636}
3737
38+
39+ tasks.named(" publishToSonatype" ) {
40+ dependsOn(checkExisting)
41+ }
42+
43+ tasks.named(" closeAndReleaseSonatypeStagingRepository" ) {
44+ dependsOn(checkExisting)
45+ }
46+
3847val downloadArtifacts by tasks.registering(Download ::class ) {
3948 dependsOn(checkExisting)
4049
You can’t perform that action at this time.
0 commit comments