There was an error while loading. Please reload this page.
1 parent c73ea37 commit f0d3ab6Copy full SHA for f0d3ab6
.github/workflows/maven.yml
@@ -15,7 +15,7 @@ jobs:
15
runs-on: ubuntu-latest
16
strategy:
17
matrix:
18
- java: [8, 11]
+ java: [8]
19
name: Java ${{ matrix.java }} building ...
20
21
steps:
@@ -26,5 +26,11 @@ jobs:
26
java-version: ${{ matrix.java }}
27
distribution: 'temurin'
28
cache: maven
29
+ server-id: sonatype-nexus-snapshots
30
+ server-username: MAVEN_USERNAME
31
+ server-password: MAVEN_PASSWORD
32
- name: Build with Maven
33
run: mvn -B package --file pom.xml -DdisableXmlReport=true -Djacoco.skip=true -Dpmd.skip=true
34
+ env:
35
+ MAVEN_USERNAME: ${{ secrets.OSSRHUSERNAME }}
36
+ MAVEN_PASSWORD: ${{ secrets.OSSRHPASSWORD }}
0 commit comments