Skip to content

Commit 2142f31

Browse files
committed
GH-1031 - Consume GPG passphrase from environment.
1 parent 0f272d7 commit 2142f31

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.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
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
3535
run: |
3636
./mvnw -B clean install -DskipTests

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ limitations under the License.
219219
</execution>
220220
</executions>
221221
<configuration>
222-
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
222+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
223223
</configuration>
224224
</plugin>
225225
<plugin>

0 commit comments

Comments
 (0)