From f6ae81252079c0769cdf2309b0d3da63d71e1ddc Mon Sep 17 00:00:00 2001 From: shivalikchadha <73787823+shivalikchadha@users.noreply.github.com> Date: Wed, 16 Mar 2022 15:27:31 +0530 Subject: [PATCH 1/3] Delete ci.yml --- .github/workflows/ci.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index cd6221450a..0000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Java CI with Maven - - -on: - - pull_request: - branches: [ master ] -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 From e5f93daf6ad107a69d143286a629c357338f6e64 Mon Sep 17 00:00:00 2001 From: shivalikchadha <73787823+shivalikchadha@users.noreply.github.com> Date: Wed, 16 Mar 2022 15:28:04 +0530 Subject: [PATCH 2/3] Create main.yml --- .github/workflows/main.yml | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..998e795d01 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,41 @@ +name: Java CI with Maven + + + +on: + + pull_request: + + branches: [ master ] + + + +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 From dc4c5c1cd6022448250a85ba488b2b624f3b99d6 Mon Sep 17 00:00:00 2001 From: shivalikchadha <73787823+shivalikchadha@users.noreply.github.com> Date: Wed, 16 Mar 2022 15:28:42 +0530 Subject: [PATCH 3/3] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 998e795d01..32e43ee92e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,5 @@ name: Java CI with Maven +#myCode