Skip to content

Commit

Permalink
Run CI checks on all supported JDKs
Browse files Browse the repository at this point in the history
This guarantees the build will succeed locally.
  • Loading branch information
findepi committed Jun 27, 2024
1 parent f9f30f6 commit 0b2fa7d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,26 @@ jobs:
build-checks:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [8, 11, 17]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
java-version: ${{ matrix.jvm }}
- run: ./gradlew -DallModules build -x test -x javadoc -x integrationTest

build-javadoc:
runs-on: ubuntu-22.04
strategy:
matrix:
jvm: [8, 11, 17]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
java-version: ${{ matrix.jvm }}
- run: ./gradlew -Pquick=true javadoc

0 comments on commit 0b2fa7d

Please sign in to comment.