Skip to content

Commit

Permalink
build(serialization): publish individual platform artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Apr 20, 2024
1 parent cfa7dc8 commit 40f6597
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,30 @@ jobs:
include:
- os: ubuntu-latest
platform: common
targets: >-
:kbigint:publishKotlinMultiplatformPublicationToLocalRepository
:kbigint-serialization:publishKotlinMultiplatformPublicationToLocalRepository
targets: publishKotlinMultiplatformPublicationToLocalRepository
- os: ubuntu-latest
platform: JVM
targets: :kbigint:publishJvmPublicationToLocalRepository
targets: publishJvmPublicationToLocalRepository
- os: ubuntu-latest
platform: Android
targets: :kbigint:publishAndroidReleasePublicationToLocalRepository
targets: publishAndroidReleasePublicationToLocalRepository
- os: ubuntu-latest
platform: JS
targets: :kbigint:publishJsPublicationToLocalRepository
targets: publishJsPublicationToLocalRepository
- os: ubuntu-latest
platform: Linux
targets: >-
:kbigint:publishLinuxX64PublicationToLocalRepository
:kbigint:publishLinuxArm64PublicationToLocalRepository
publishLinuxX64PublicationToLocalRepository
publishLinuxArm64PublicationToLocalRepository
- os: windows-latest
platform: Windows
targets: :kbigint:publishMingwX64PublicationToLocalRepository
- os: macos-14
platform: macOS/iOS
targets: >-
:kbigint:publishMacosX64PublicationToLocalRepository
:kbigint:publishMacosArm64PublicationToLocalRepository
:kbigint:publishIosArm64PublicationToLocalRepository
publishMacosX64PublicationToLocalRepository
publishMacosArm64PublicationToLocalRepository
publishIosArm64PublicationToLocalRepository
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ allprojects {

subprojects {
group = "io.github.observeroftime.kbigint"
version = "0.1.1"
version = "0.1.2"

if (System.getenv("CI") != null) {
tasks.withType(AbstractTestTask::class) {
Expand Down
4 changes: 4 additions & 0 deletions kbigint-serialization/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ tasks.dokkaHtmlPartial {
}
}

tasks.withType<AbstractPublishToMaven>().configureEach {
mustRunAfter(tasks.withType<Sign>())
}

tasks.create<Jar>("javadocJar") {
group = "documentation"
archiveClassifier.set("javadoc")
Expand Down

0 comments on commit 40f6597

Please sign in to comment.