Skip to content

Commit bba0e9f

Browse files
committed
GH-123 - Use default environment variable for GPG password.
1 parent 3bbf7f8 commit bba0e9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
env:
3131
SONATYPE_USER: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
3232
SONATYPE_PASSWORD: ${{ secrets.CENTRAL_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

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
</execution>
179179
</executions>
180180
<configuration>
181-
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
181+
<!-- Password via MAVEN_GPG_PASSPHRASE -->
182182
</configuration>
183183
</plugin>
184184
<plugin>

0 commit comments

Comments
 (0)