Skip to content

Commit 8fc5b0b

Browse files
committed
java 17 und gpg Hinweise aus
scoverage-maven-plugin
1 parent c9db8ce commit 8fc5b0b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/maven_deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ jobs:
2323
- name: Set up Maven Central Repository
2424
uses: actions/setup-java@v4
2525
with:
26-
java-version: '11'
26+
java-version: '17'
2727
distribution: 'temurin'
28-
server-id: ossrh
28+
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
2929
server-username: MAVEN_USERNAME
3030
server-password: MAVEN_PASSWORD
31+
# TODO:
32+
# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
33+
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
3134
- name: Publish package
3235
# run: mvn --batch-mode deploy
3336
run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy
3437
env:
3538
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3639
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
37-
40+
# MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)