diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml new file mode 100644 index 0000000..c1ec327 --- /dev/null +++ b/.github/workflows/maven-build.yml @@ -0,0 +1,23 @@ +name: Java CI with Maven + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 21 + uses: actions/setup-java@v2 + with: + java-version: '21' + distribution: 'openjdk' + cache: maven + - name: Build with Maven + run: mvn -B install --file pom.xml -DdisableXmlReport=true \ No newline at end of file