Skip to content

Commit

Permalink
specify mvn version in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tcurdt committed Aug 16, 2024
1 parent 8d42b9a commit b74d954
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
distribution: 'zulu'
java-version: 16

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

- name: Build
run: mvn -B site

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

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

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

0 comments on commit b74d954

Please sign in to comment.