Skip to content

Commit

Permalink
java 17 und gpg Hinweise aus
Browse files Browse the repository at this point in the history
scoverage-maven-plugin
  • Loading branch information
homebeaver committed Dec 15, 2024
1 parent c9db8ce commit 8fc5b0b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/maven_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '11'
java-version: '17'
distribution: 'temurin'
server-id: ossrh
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
# TODO:
# gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
# gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
- name: Publish package
# run: mvn --batch-mode deploy
run: mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

# MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 comments on commit 8fc5b0b

Please sign in to comment.