Skip to content

Commit ac286cd

Browse files
committed
GH-1030 - Consume GPG passphrase from environment.
1 parent 3729cbf commit ac286cd

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

Diff for: pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ limitations under the License.
252252
</execution>
253253
</executions>
254254
<configuration>
255-
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
255+
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
256256
</configuration>
257257
</plugin>
258258
<plugin>

0 commit comments

Comments
 (0)