Skip to content

Upgrade

Upgrade #65

Workflow file for this run

name: test
on: [push]
jobs:
test:
strategy:
matrix:
java: [11, 15]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Maven Install and Test
run: |
./mvnw clean install
cd test
../mvnw clean test
deploy:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Deploy to Sonatype
run: ./mvnw -B -Drepo.username=${{secrets.SONATYPE_USERNAME}} -Drepo.password=${{secrets.SONATYPE_PASSWORD}} clean deploy -DskipTests=true --settings mySettings.xml