We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a70f0d1 commit b407057Copy full SHA for b407057
1 file changed
.github/workflows/maven_deploy.yml
@@ -0,0 +1,30 @@
1
+name: deploy to sonatype snapshots
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ build:
8
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ java: [8]
13
+ name: Java ${{ matrix.java }} building ...
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Java ${{ matrix.java }}
18
+ uses: actions/setup-java@v3
19
+ with:
20
+ java-version: ${{ matrix.java }}
21
+ distribution: 'temurin'
22
+ cache: maven
23
+ server-id: sonatype-nexus-snapshots
24
+ server-username: MAVEN_USERNAME
25
+ server-password: MAVEN_PASSWORD
26
+ - name: Build with Maven
27
+ run: mvn -B deploy --file pom.xml -DdisableXmlReport=true -Djacoco.skip=true -Dpmd.skip=true
28
+ env:
29
+ MAVEN_USERNAME: ${{ secrets.OSSRHUSERNAME }}
30
+ MAVEN_PASSWORD: ${{ secrets.OSSRHPASSWORD }}
0 commit comments