Commit a2c265e 1 parent f43bb6e commit a2c265e Copy full SHA for a2c265e
File tree 3 files changed +15
-6
lines changed
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
- name : KMMBridge iOS Publish
1
+ name : KMMBridge-Debug
2
2
on :
3
3
workflow_dispatch :
4
4
5
5
permissions :
6
6
contents : write
7
+ packages : write
7
8
8
9
jobs :
9
10
kmmbridgepublish :
26
27
id : output
27
28
run : echo "${{ steps.versionPropertyValue.outputs.propVal }}"
28
29
30
+ - id : trimcommit
31
+ uses : prompt/actions-commit-hash@v3
32
+ with :
33
+ commit : ${{ github.sha }}
34
+
29
35
- name : Touchlab Sample Sanity Check (Ignore this for your CI)
30
36
uses : touchlab/sample-group-sanity-check@main
31
37
@@ -46,13 +52,13 @@ jobs:
46
52
key : ${{ runner.os }}-v4-${{ hashFiles('*.gradle.kts') }}
47
53
48
54
- name : Build Main
49
- run : ./gradlew kmmBridgePublish -PENABLE_PUBLISHING=true -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} --no-daemon --info --stacktrace
55
+ run : ./gradlew kmmBridgePublish -PLIBRARY_VERSION=${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }} - PENABLE_PUBLISHING=true -PGITHUB_PUBLISH_TOKEN=${{ secrets.GITHUB_TOKEN }} -PGITHUB_REPO=${{ github.repository }} --no-daemon --info --stacktrace
50
56
env :
51
57
GRADLE_OPTS : -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
52
58
53
59
- uses : touchlab/ga-update-release-tag@v1
54
60
id : update-release-tag
55
61
with :
56
- commitMessage : " KMP SPM package release for ${{ steps.versionPropertyValue.outputs.propVal }}"
57
- tagMessage : " KMP release version ${{ steps.versionPropertyValue.outputs.propVal }}"
58
- tagVersion : ${{ steps.versionPropertyValue.outputs.propVal }}
62
+ commitMessage : " KMP SPM package release for ${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }} "
63
+ tagMessage : " KMP release version ${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }} "
64
+ tagVersion : ${{ steps.versionPropertyValue.outputs.propVal }}-${{ steps.trimcommit.outputs.short }}
Original file line number Diff line number Diff line change 1
- name : KMMBridge Android and iOS Publish
1
+ name : KMMBridge-Release
2
2
on :
3
3
workflow_dispatch :
4
4
Original file line number Diff line number Diff line change
1
+ import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
2
+
1
3
plugins {
2
4
alias(libs.plugins.kotlin.multiplatform)
3
5
alias(libs.plugins.kmmbridge)
@@ -28,6 +30,7 @@ kotlin {
28
30
29
31
kmmbridge {
30
32
gitHubReleaseArtifacts()
33
+ buildType.setAndFinalize(NativeBuildType .DEBUG )
31
34
spm(swiftToolVersion = " 5.8" ) {
32
35
iOS { v(" 14" ) }
33
36
}
You can’t perform that action at this time.
0 commit comments