Skip to content

Commit

Permalink
- minor fix to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Reef3rm4n committed Jun 29, 2023
1 parent e1c3171 commit 0d335bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
distribution: 'zulu'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: build-with-maven
run: mvn -B package --file pom.xml
- name: publish-maven-central-packages
run: mvn --batch-mode clean deploy
env:
Expand Down

0 comments on commit 0d335bb

Please sign in to comment.