From 5761a6bcf8ef05c00e5ca035ba2b7e697acecc13 Mon Sep 17 00:00:00 2001 From: Cervicia <100235168+Cervicia@users.noreply.github.com> Date: Thu, 10 Mar 2022 19:42:40 +0100 Subject: [PATCH] Create maven.yml --- maven.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 maven.yml diff --git a/maven.yml b/maven.yml new file mode 100644 index 0000000..2566386 --- /dev/null +++ b/maven.yml @@ -0,0 +1,26 @@ +# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven + +name: Java CI with Maven + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B package --file pom.xml