Skip to content

Commit

Permalink
Add CI for java 19+20 (#15)
Browse files Browse the repository at this point in the history
* Add CI for java 19+20
* Also update codecov
  • Loading branch information
dampcake committed Jul 8, 2023
1 parent 8823b21 commit 0832c1d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ]
java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]
env:
JAVA: ${{ matrix.java }}
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Test
run: mvn -B test jacoco:report
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v3
with:
env_vars: JAVA
deploy:
Expand All @@ -32,10 +33,11 @@ jobs:
if: github.ref == 'refs/heads/master'
name: Deploy
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 8
- name: Deploy
env:
Expand Down

0 comments on commit 0832c1d

Please sign in to comment.