Skip to content

Commit

Permalink
Upgrade to JDK 17 in GitHub Actions workflow
Browse files Browse the repository at this point in the history
This change updates the GitHub Actions workflow to use JDK 17 instead of JDK 11. The `setup-java` action is updated accordingly to ensure compatibility with the new JDK version. This should help leverage new features and improvements available in JDK 17.
  • Loading branch information
fscarponi committed Nov 6, 2024
1 parent f0033b9 commit 568e3cf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
with:
submodules: true
- uses: gradle/gradle-build-action@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Run GRADLE tests
continue-on-error: true
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
with:
submodules: true
- uses: gradle/gradle-build-action@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Run MAVEN tests
id: simple-build
Expand Down Expand Up @@ -123,10 +123,10 @@ jobs:
with:
submodules: true
- uses: gradle/gradle-build-action@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Run KMP tests
id: simple-build
Expand Down Expand Up @@ -179,10 +179,10 @@ jobs:
with:
submodules: true
- uses: gradle/gradle-build-action@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Run VERSION CATALOG tests
continue-on-error: true
Expand Down Expand Up @@ -226,10 +226,10 @@ jobs:
with:
submodules: true
- uses: gradle/gradle-build-action@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Run UNIT tests
id: simple-build
Expand Down

0 comments on commit 568e3cf

Please sign in to comment.