Skip to content

Commit

Permalink
Run build and tests with multiple JDK releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaarni committed Oct 28, 2024
1 parent 646a62e commit 94bdf98
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,20 @@ on:
jobs:
gradle:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '8', '11', '17', '21' ]
name: Java ${{ matrix.Java }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
java-version: ${{ matrix.java }}

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@v3

- name: Execute Gradle build
run: ./gradlew build

0 comments on commit 94bdf98

Please sign in to comment.