From f4ad43817026614d2dc28fb10653012fc3705c2b Mon Sep 17 00:00:00 2001 From: Michael Kerrigan Date: Wed, 15 Jun 2022 13:58:04 +0100 Subject: [PATCH 1/3] add newfile --- newfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newfile diff --git a/newfile b/newfile new file mode 100644 index 0000000..e69de29 From 963bb5c9309bab34204c44742bda5030a9df1afe Mon Sep 17 00:00:00 2001 From: Michael Kerrigan Date: Wed, 15 Jun 2022 13:58:36 +0100 Subject: [PATCH 2/3] remove newfile --- newfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 newfile diff --git a/newfile b/newfile deleted file mode 100644 index e69de29..0000000 From 5cf7ff2ce790d0561c9b11048a2079e4e93c7020 Mon Sep 17 00:00:00 2001 From: michaelkerrigan <107552159+michaelkerrigan@users.noreply.github.com> Date: Wed, 15 Jun 2022 14:08:15 +0100 Subject: [PATCH 3/3] Create maven.yml --- .github/workflows/maven.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..6eba412 --- /dev/null +++ b/.github/workflows/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@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn clean test