From 87cfbfb39ae4a34870e04818e8bcb464205d0b77 Mon Sep 17 00:00:00 2001 From: "Sandesh, Pallapati Immanuel Prabhu" Date: Wed, 17 Feb 2021 17:26:13 +0530 Subject: [PATCH 1/3] Setup_github_actions Setup_github_actions --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..dd0ec26 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +name: CI +on: + push: + branches: + - master +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build project with Maven + run: mvn clean install From 5895d9343e3b2bd86e7d829c589ab65d4fca1fd7 Mon Sep 17 00:00:00 2001 From: "Sandesh, Pallapati Immanuel Prabhu" Date: Wed, 17 Feb 2021 18:57:53 +0530 Subject: [PATCH 2/3] Update build.yml --- .github/workflows/build.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd0ec26..d5bccb4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,5 @@ name: CI -on: - push: - branches: - - master +on: pull_request jobs: build: name: Build From 8555ccba613f30b89933ef616f10e99e9c76c602 Mon Sep 17 00:00:00 2001 From: "Sandesh, Pallapati Immanuel Prabhu" Date: Wed, 17 Feb 2021 19:00:00 +0530 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5bccb4..75ca203 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,12 @@ -name: CI +name: Build on: pull_request jobs: build: name: Build runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: