Skip to content

If autoEmpty, this should also affect null elements #281

If autoEmpty, this should also affect null elements

If autoEmpty, this should also affect null elements #281

Workflow file for this run

name: ci
on: [push]
jobs:
build:
# skip releases
if: startsWith(github.ref, '[maven-release-plugin] prepare release') != true
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
steps:
- uses: actions/checkout@v2
with:
# needed for license-plugin to check last modified date of each file
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: mvn clean verify
run: ./mvnw -V --no-transfer-progress --batch-mode clean verify
deploy:
if: github.ref == 'refs/heads/main'
needs: [ build ]
runs-on: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: mvn clean deploy
env:
REPO_USER: ${{ secrets.REPO_USER }}
REPO_PASSWORD: ${{ secrets.REPO_PASSWORD }}
run: "./mvnw -V --no-transfer-progress --batch-mode --settings .settings.xml clean \
-Dlicense.skip=true -DskipTests -Dmaven.install.skip=true deploy"