Skip to content

Commit

Permalink
Updated GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Sep 17, 2024
1 parent 62edb06 commit 22db72f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ on:
branches:
- master
- '1.x'
- '2.x'

jobs:
build:
Expand Down Expand Up @@ -55,6 +56,11 @@ jobs:
- name: Publish to the Maven Central Repository
run: mvn --batch-mode --update-snapshots deploy
if: matrix.Java == 17
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

- name: Maven Build
run: mvn --batch-mode --update-snapshots install
if: matrix.Java != 17

0 comments on commit 22db72f

Please sign in to comment.