Skip to content

Commit

Permalink
Setup both jdk17 and jdk21
Browse files Browse the repository at this point in the history
  • Loading branch information
md5sha256 committed May 6, 2024
1 parent f3032a2 commit ba335d9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ jobs:
runs-on: "${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '21'
java-version: '17'
distribution: 'zulu'
cache: 'gradle'
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
cache: 'gradle'
- uses: gradle/actions/wrapper-validation@v3
- name: Build with Gradle
run: ./gradlew clean build

0 comments on commit ba335d9

Please sign in to comment.