Skip to content

Commit

Permalink
Merge pull request #57 from creek-service/plugin_signing
Browse files Browse the repository at this point in the history
Enable signing of plugins
  • Loading branch information
big-andy-coates committed Nov 7, 2022
2 parents 97982b0 + 891b2f0 commit 6d11dd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
- name: Publish to Gradle Plugins Portal
if: startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, '-alpha')
env:
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }}
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ tasks.javadoc {
}

// Dummy/empty publishPlugins task, to allow consistent build.yml workflow
tasks.register("publishPlugins")
tasks.register("publishPlugins") {
doLast {
println("No Gradle plugins to publish")
}
}

publishing {
repositories {
Expand Down

0 comments on commit 6d11dd7

Please sign in to comment.