Skip to content

Commit 4a74c8a

Browse files
committed
Mac publish
1 parent 4a7be1d commit 4a74c8a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build:
1313
strategy:
1414
matrix:
15-
os: [ macOS-latest, windows-latest ]
15+
os: [ macOS-latest, windows-latest, ubuntu-18.04 ]
1616
runs-on: ${{matrix.os}}
1717
steps:
1818
- name: Checkout the repo
@@ -46,7 +46,7 @@ jobs:
4646
echo "c:\msys64\mingw64\bin" >> $GITHUB_PATH
4747
- name: Publish Mac Artifacts
4848
if: matrix.os == 'macOS-latest'
49-
run: ./gradlew publish --no-daemon --stacktrace
49+
run: ./gradlew publishMac --no-daemon --stacktrace
5050
env:
5151
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
5252
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}

sqliter-driver/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,6 @@ if(!HostManager.hostIsLinux) {
104104

105105
apply(from = "../gradle/gradle-mvn-mpp-push.gradle")
106106

107+
tasks.register("publishMac"){
108+
setDependsOn(tasks.filter { t -> t.name.startsWith("publish") && t.name.endsWith("ToMavenRepository") && !t.name.contains("Linux") }.map { it.name })
109+
}

0 commit comments

Comments
 (0)