Skip to content

Commit

Permalink
fixed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tcurdt committed Sep 18, 2024
1 parent eaac84d commit 966fc9a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 16
java-version: 21

- name: Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Build
run: mvn -B site
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,18 @@ jobs:
uses: actions/setup-java@v4
with: # overwrite settings.xml
distribution: 'zulu'
java-version: 16
java-version: 21
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6

- name: Publish to Maven Central
run: mvn -B -Prelease --file pom.xml deploy
env:
Expand Down

0 comments on commit 966fc9a

Please sign in to comment.