Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunhkumar authored Aug 7, 2023
1 parent 11c0722 commit 973d743
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 973d743

Please sign in to comment.