Remove parent.
This commit is contained in:
parent
3efda9d452
commit
41589b6c8c
8 changed files with 261 additions and 244 deletions
36
.github/workflows/snapshot.yaml
vendored
Normal file
36
.github/workflows/snapshot.yaml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
name: Snapshot
|
||||
|
||||
"on":
|
||||
workflow_dispatch: {}
|
||||
push: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 11
|
||||
cache: maven
|
||||
server-id: sonatype-nexus
|
||||
server-username: SERVER_USERNAME
|
||||
server-password: SERVER_PASSWORD
|
||||
- run: mvn -B dependency:go-offline -q
|
||||
- run: mvn -B verify
|
||||
if: github.ref != 'refs/heads/main'
|
||||
- run: mvn -B deploy
|
||||
if: github.ref == 'refs/heads/main'
|
||||
env:
|
||||
SERVER_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
|
||||
SERVER_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
|
||||
- uses: dorny/test-reporter@v1
|
||||
if: failure()
|
||||
with:
|
||||
name: surefire
|
||||
path: '*/target/surefire-reports/*.xml'
|
||||
reporter: java-junit
|
||||
list-suites: failed
|
||||
list-tests: failed
|
||||
fail-on-error: false
|
Loading…
Add table
Add a link
Reference in a new issue