From 973d74354dd5599656574e4992b704072f1f0264 Mon Sep 17 00:00:00 2001 From: Arjun Harikumar <89198157+arjunhkumar@users.noreply.github.com> Date: Mon, 7 Aug 2023 20:08:19 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90ff499a4a3..4e94ddbce21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,26 +7,6 @@ on: pull_request: jobs: - StyleAndLicense: - name: Check style´and license conformity - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Use Java 8 - uses: actions/setup-java@v1 - with: - java-version: '8' - - name: Stylecheck - if: always() - run: | - bash ASM/build-project.sh - mvn -B clean checkstyle:check -Dcheckstyle.failOnViolation=true - - name: Licensecheck - if: always() - run: | - mvn -B clean license:check-file-header -Dlicence-check.failOnMissingHeader=true - BuildAndTest: name: Build and Test with java ${{ matrix.java_version }} runs-on: ubuntu-latest @@ -43,10 +23,12 @@ jobs: java-version: ${{ matrix.java_version }} - name: Build and test Java ${{ matrix.java_version }} run: | + bash ASM/build-project.sh mvn -B clean test -PJava${{ matrix.java_version }} - name: Build Release if: startsWith(github.ref, 'refs/tags/') run: | + bash ASM/build-project.sh mvn clean compile assembly:single source:jar - name: Release uses: softprops/action-gh-release@v1