Skip to content

Commit 7c64df0

Browse files
committed
deployment scripts
1 parent 4fbb3e2 commit 7c64df0

File tree

4 files changed

+12
-54
lines changed

4 files changed

+12
-54
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
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

.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)