Skip to content

Commit

Permalink
corrected hopefully maven snapshot deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Dec 28, 2023
1 parent c73ea37 commit f0d3ab6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
java: [8]
name: Java ${{ matrix.java }} building ...

steps:
Expand All @@ -26,5 +26,11 @@ jobs:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build with Maven
run: mvn -B package --file pom.xml -DdisableXmlReport=true -Djacoco.skip=true -Dpmd.skip=true
env:
MAVEN_USERNAME: ${{ secrets.OSSRHUSERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRHPASSWORD }}

0 comments on commit f0d3ab6

Please sign in to comment.