Skip to content

Commit 4bcdabd

Browse files
committed
GH-2278 - Access GPG password through environment variable.
1 parent 764fefd commit 4bcdabd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: .github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
SONATYPE_USER: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
3232
SONATYPE_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
33-
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
33+
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
3434
run: |
3535
./mvnw -B clean install -DskipTests
3636
./mvnw -B clean deploy -Pci,sonatype -s settings.xml

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
</execution>
208208
</executions>
209209
<configuration>
210-
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
210+
<!-- Password via MAVEN_GPG_PASSWORD -->
211211
</configuration>
212212
</plugin>
213213
<plugin>

0 commit comments

Comments
 (0)