Skip to content

Commit

Permalink
GH-1030 - Consume GPG passphrase from environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Jan 23, 2025
1 parent 3729cbf commit ac286cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
env:
SONATYPE_USER: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: |
./mvnw -B clean install -DskipTests
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ limitations under the License.
</execution>
</executions>
<configuration>
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
<!-- Passphrase consumed from MAVEN_GPG_PASSPHRASE environment variable. -->
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit ac286cd

Please sign in to comment.