Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
repair publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lesclaz committed Feb 25, 2024
1 parent dbb9d59 commit 79cd961
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # v3.0.0
- name: Run publish task
run: ./gradlew build sonatypeCentralUpload
run: ./gradlew sonatypeCentralUpload
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }}
Expand Down
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ sonatypeCentralUpload {
signingKey = System.getenv("SIGNING_KEY")
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
}

tasks.sonatypeCentralUpload {
dependsOn("build")
}

0 comments on commit 79cd961

Please sign in to comment.