32
32
- name : Build native lib
33
33
run : |
34
34
./gradlew \
35
- -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} \
36
- -Ppowersync.binaries.cross-arch=true \
37
- :core:cmakeJvmBuild
35
+ -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} \
36
+ -Ppowersync.binaries.cross-arch=true \
37
+ :core:cmakeJvmBuild
38
+ shell : bash
38
39
- name : Upload build
39
40
uses : actions/upload-artifact@v4
40
41
with :
49
50
uses : gradle/wrapper-validation-action@v1
50
51
- uses : actions/cache@v3
51
52
with :
52
- path : |
53
- ~/.konan
53
+ path : ~/.konan
54
54
key : ${{ runner.os }}-${{ hashFiles('**/.lock') }}
55
55
- name : Set up JDK 17
56
56
uses : actions/setup-java@v3
@@ -69,14 +69,15 @@ jobs:
69
69
- name : Gradle publish
70
70
run : |
71
71
./gradlew \
72
- -PGITHUB_PUBLISH_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
73
- -PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
74
- -PsigningInMemoryKeyId="${{ secrets.SIGNING_KEY_ID }}" \
75
- -PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}" \
76
- -PcentralPortal.username="${{secrets.SONATYPE_USERNAME}}" \
77
- -PcentralPortal.password="${{secrets.SONATYPE_PASSWORD}}" \
78
- -Ppowersync.binaries.provided="true" \
79
- publishAllPublicationsToSonatypeRepository
72
+ -PGITHUB_PUBLISH_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
73
+ -PsigningInMemoryKey="${{ secrets.SIGNING_KEY }}" \
74
+ -PsigningInMemoryKeyId="${{ secrets.SIGNING_KEY_ID }}" \
75
+ -PsigningInMemoryKeyPassword="${{ secrets.SIGNING_PASSWORD }}" \
76
+ -PcentralPortal.username="${{secrets.SONATYPE_USERNAME}}" \
77
+ -PcentralPortal.password="${{secrets.SONATYPE_PASSWORD}}" \
78
+ -Ppowersync.binaries.provided="true" \
79
+ publishAllPublicationsToSonatypeRepository
80
+ shell : bash
80
81
# This will change Package.swift in Github packages to direct to new maven central KMMBridge zip file
81
82
call-kmmbridge-publish :
82
83
needs : deploy
0 commit comments