From c3197dc485f5fa0974b59d3bcc41bf5a1e06d9ab Mon Sep 17 00:00:00 2001 From: BlaNaoZ <67443820+BlaNaoZ@users.noreply.github.com> Date: Wed, 7 Sep 2022 12:16:00 +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 f9e8a27b3b8546b56c5587d589ae8a4ab00141c8 Mon Sep 17 00:00:00 2001 From: BlaNaoZ <67443820+BlaNaoZ@users.noreply.github.com> Date: Wed, 7 Sep 2022 12:17:30 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 36ba4ae..ff74b4f 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # ea-gitdemo +Andrei Blanaru