Skip to content

Commit 430f1ea

Browse files
committed
deployment scripts
1 parent 4fbb3e2 commit 430f1ea

File tree

3 files changed

+7
-54
lines changed

3 files changed

+7
-54
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
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 }}

sqliter-driver/build.gradle.kts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)