Skip to content

Commit

Permalink
try to fix publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Dozor committed Feb 4, 2024
1 parent 66fb086 commit 14cc7f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ jobs:
publish:
name: "Publish"
runs-on: macOS-14
if: github.ref == 'refs/heads/main'
needs: [build-web-example, build-ios-example, build-android-example, generate-all]
if: github.ref == 'refs/heads/fix-publishing'
#needs: [build-web-example, build-ios-example, build-android-example, generate-all]

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ allprojects {
extra["signing.keyId"] = System.getenv("mavenSigningKeyId")
extra["signing.secretKeyRingFile"] = System.getenv("mavenSigningKeyRingFile")
extra["signing.password"] = System.getenv("mavenSigningKeyPassword")

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

0 comments on commit 14cc7f1

Please sign in to comment.