From 9440c16c04474d3002ac462ba45c1a4b8b5e4c0f Mon Sep 17 00:00:00 2001 From: Alberto Fernandez Date: Wed, 29 May 2024 01:15:53 +0200 Subject: [PATCH] maven build github ci --- .github/workflows/maven.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..0300e14 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,25 @@ +# This workflow will build a Java project with Maven +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: JavaDBF CI +on: + push: + branches: [ main, 0.x ] + pull_request: + branches: [ main, 0.x ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 8, 11 ] + name: Java ${{matrix.java}} + steps: + - uses: actions/checkout@v2 + - name: Setup java + uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - name: Build with Maven + run: mvn -B -Dgpg.skip=true -Dmaven.javadoc.skip=true clean package verify