We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58adb15 commit c72b44bCopy full SHA for c72b44b
.github/workflows/publish.yml
@@ -26,5 +26,8 @@ jobs:
26
27
- name: Publish Maven package
28
uses: gradle/[email protected]
29
+ env:
30
+ GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
31
+ GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
32
with:
33
arguments: -Pversion=${{ github.event.release.tag_name }} -PmavenUsername=${{ secrets.MAVEN_USERNAME }} -PmavenPassword=${{ secrets.MAVEN_PASSWORD }} publish
build.gradle
@@ -87,6 +87,6 @@ publishing {
87
}
88
89
signing {
90
- useGpgCmd()
+ useInMemoryPgpKeys(System.getenv("GPG_SECRET_KEY"), System.getenv("GPG_PASSPHRASE"))
91
sign publishing.publications.mavenJava
92
0 commit comments