Skip to content

Commit dcde353

Browse files
committed
GH-1029 - Consume GPG passphrase from environment.
1 parent f3f8deb commit dcde353

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
@@ -263,7 +263,7 @@ limitations under the License.
263263
</execution>
264264
</executions>
265265
<configuration>
266-
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
266+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
267267
</configuration>
268268
</plugin>
269269
<plugin>

0 commit comments

Comments
 (0)