Skip to content

Commit

Permalink
Add Java 21 testing, make Java 21 the default (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored Oct 26, 2023
1 parent f989788 commit bfa6b67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ jobs:
java-version: '17'
cache: 'gradle'

- name: Setup JDK 19
id: setup-java-19
- name: Setup JDK 21
id: setup-java-21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
java-version: '21'
cache: 'gradle'

- name: Set JAVA_HOME
run: echo "JAVA_HOME=${{ steps.setup-java-17.outputs.path }}" >> $GITHUB_ENV
run: echo "JAVA_HOME=${{ steps.setup-java-21.outputs.path }}" >> $GITHUB_ENV

- name: Setup gradle properties
run: |
cat .github/env/${{ runner.os }}/gradle.properties >> gradle.properties
echo >> gradle.properties
echo "org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-17.outputs.path }},${{ steps.setup-java-19.outputs.path }}" >> gradle.properties
echo "org.gradle.java.installations.paths=${{ steps.setup-java-8.outputs.path }},${{ steps.setup-java-11.outputs.path }},${{ steps.setup-java-17.outputs.path }},${{ steps.setup-java-21.outputs.path }}" >> gradle.properties
echo "customDoubleParser=${{ matrix.customDoubleParser }}" >> gradle.properties
cat gradle.properties
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'
cache: 'gradle'

- name: Set JAVA_HOME
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/groovy/io/deephaven/csv/Constants.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.deephaven.csv

class Constants {
public static int LATEST_LTS = 17
public static int LATEST_LTS = 21

public static int[] TEST_VERSIONS = [8, 11, 17, 19]
public static int[] TEST_VERSIONS = [8, 11, 17, 21]
}

0 comments on commit bfa6b67

Please sign in to comment.