Skip to content

Commit 51b5ca6

Browse files
committed
Got rid of GPG passphrase in configuration and load it from ENV variable instead
1 parent 8924d9e commit 51b5ca6

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.ci.settings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
<properties>
114114
<repoToken>${env.repoToken}</repoToken>
115115
<keystore.pass>${env.signing_keypass}</keystore.pass>
116-
<gpg.passphrase>${env.signing_keypass}</gpg.passphrase>
117116
<skipRemoteStaging>${env.skipRemoteStaging}</skipRemoteStaging>
118117
</properties>
119118
<repositories>

.github/workflows/release_maven.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ jobs:
3232
env:
3333
GPG_TTY: $(tty)
3434
MAVEN_OPTS: -Xms128m -Xmx512m --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
35+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
36+
signing_keypass: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
3537
gh_username: ${{ secrets.GH_USERNAME }}
3638
gh_token: ${{ secrets.GH_TOKEN }}
3739
sonatype_username: ${{ secrets.SONATYPE_USERNAME }}
3840
sonatype_password: ${{ secrets.SONATYPE_PASSWORD }}
3941
repoToken: ${{ secrets.COVERALLS_REPOTOKEN }}
40-
signing_keypass: ${{ secrets.GPG_PASSPHRASE }}
4142
skipRemoteStaging: ${{ secrets.SKIP_REMOTE_STAGING }}
4243
nvd_api_key: ${{ secrets.NVD_API_KEY }}

.github/workflows/windows_maven.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,4 @@ jobs:
2727
run: mvn -s .ci.settings.xml --no-transfer-progress clean package
2828
env:
2929
MAVEN_OPTS: -Xms128m -Xmx512m --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED
30-
gh_username: ${{ secrets.GH_USERNAME }}
31-
gh_token: ${{ secrets.GH_TOKEN }}
32-
sonatype_username: ${{ secrets.SONATYPE_USERNAME }}
33-
sonatype_password: ${{ secrets.SONATYPE_PASSWORD }}
34-
repoToken: ${{ secrets.GH_REPOTOKEN }}
35-
signing_keypass: ${{ secrets.GPG_PASSPHRASE }}
36-
skipRemoteStaging: ${{ secrets.SKIP_REMOTE_STAGING }}
3730
nvd_api_key: ${{ secrets.NVD_API_KEY }}

0 commit comments

Comments
 (0)