We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd4daf commit 05d6c95Copy full SHA for 05d6c95
.github/workflows/maven-build.yml
@@ -21,8 +21,12 @@ jobs:
21
java-version: ${{ matrix.java }}
22
distribution: ${{ matrix.distribution }}
23
cache: maven
24
+ gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25
+ gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
26
- name: Build with Maven
- run: mvn --batch-mode --update-snapshots verify
27
+ run: mvn --batch-mode --update-snapshots verify -Prelease
28
+ env:
29
+ MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
30
- name: Publish Test Report
31
uses: mikepenz/action-junit-report@v5
32
if: ${{ matrix.java == 8 && (success() || failure()) }} # always run even if the previous step fails
0 commit comments