diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..31aa3266 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,28 @@ +name: Owner build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Checkout sources + uses: actions/checkout@v3 + + - name: Set up JDK 8 + uses: actions/setup-java@v3 + with: + distribution: 'adopt' # See 'Supported distributions' for available options + java-version: 8 + + - name: Build with Maven + run: + mvn -B clean install --file pom.xml diff --git a/pom.xml b/pom.xml index 51f6608c..630a9067 100644 --- a/pom.xml +++ b/pom.xml @@ -231,7 +231,7 @@ commons-codec commons-codec - 1.15 + 1.16.0 test @@ -393,7 +393,7 @@ maven-surefire-report-plugin - 2.22.2 + 3.2.2 maven-javadoc-plugin