Skip to content

Commit

Permalink
try to fix ci publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Dec 27, 2023
1 parent 4d96254 commit 27209b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
env:
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
run: ./gradlew publishAllPublicationsToSonatypeRepository --stacktrace
run: ./gradlew publishAllPublicationsToSonatypeRepository --stacktrace -Dorg.gradle.workers.max=1
3 changes: 2 additions & 1 deletion buildSrc/src/main/kotlin/ConfigurePublication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ fun Project.publishMultiplatform() {
signPublications(isReleaseBuild, properties)
}

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:Suppress(
"unused", "MemberVisibilityCanBePrivate", "NewApi", "MagicNumber", "TooManyFunctions",
"DeprecatedCallableAddReplaceWith"
"DeprecatedCallableAddReplaceWith", "DEPRECATION"
)

package pro.respawn.kmmutils.datetime
Expand Down

0 comments on commit 27209b7

Please sign in to comment.