File tree Expand file tree Collapse file tree 4 files changed +12
-54
lines changed Expand file tree Collapse file tree 4 files changed +12
-54
lines changed Original file line number Diff line number Diff line change 2020 - name : Checkout the repo
2121 uses : actions/checkout@v4
2222
23+ - uses : actions/setup-java@v2
24+ with :
25+ distribution : " adopt"
26+ java-version : " 17"
27+
2328 - name : Install msys2
2429 if : matrix.os == 'windows-latest'
2530 uses : msys2/setup-msys2@v2
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3939 restore-keys : |
4040 ${{ runner.os }}-gradle-
4141
42- - name : Finish Maven Central Release
43- run : ./gradlew closeAndReleaseRepository --no-daemon --stacktrace --no-build-cache
42+ - name : Publish Artifacts to Maven Central
43+ run : ./gradlew publish --no-daemon --stacktrace --no-build-cache
4444 env :
4545 ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
4646 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
Original file line number Diff line number Diff line change @@ -77,11 +77,8 @@ kotlin {
7777 }
7878}
7979
80- // listOf(
81- // "linuxX64Test",
82- // "linuxArm64Test",
83- // "linkDebugTestLinuxX64",
84- // "linkDebugTestLinuxArm64",
85- // "mingwX64Test",
86- // "linkDebugTestMingwX64",
87- // ).forEach { tasks.findByName(it)?.enabled = false }
80+ mavenPublishing {
81+ // Signing and POM are automatically handled by the plugin + gradle.properties
82+ configureBasedOnAppliedPlugins(true , true )
83+ publishToMavenCentral(automaticRelease = true )
84+ }
You can’t perform that action at this time.
0 commit comments