From 24533169f8dee039e2087a2307d32665242d0f05 Mon Sep 17 00:00:00 2001 From: Jack Hurt <56974056+jackwhurt@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:36:05 +0100 Subject: [PATCH 1/2] 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 From 22745ac98e66483d08ac2157c9bc2ed4a172516f Mon Sep 17 00:00:00 2001 From: Jack Hurt <56974056+jackwhurt@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:37:12 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36ba4ae..f35a379 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# ea-gitdemo +# Jack Hurt