diff --git a/.github/workflows/maven_java21.yml b/.github/workflows/maven_java21.yml new file mode 100644 index 00000000..dcecfc8b --- /dev/null +++ b/.github/workflows/maven_java21.yml @@ -0,0 +1,24 @@ +# 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: Maven Build - Java 21 + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 21 + - name: Build with Maven + run: ./mvnw -B package --file pom.xml -Djdk-version=21