summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJiayu Liu <Jimexist@users.noreply.github.com>2022-10-14 13:16:18 +0800
committerGitHub <noreply@github.com>2022-10-14 13:16:18 +0800
commit92b007fa888709a2808993d10a91b524fdf42bda (patch)
tree32d2e37be11b43ad28907967b6167637cd6c8fe6 /.github
parentc2cccb6b67b6dd9e3a53eb91b5cc138cba4d5415 (diff)
downloadthrift-92b007fa888709a2808993d10a91b524fdf42bda.tar.gz
java to use jdk 17 (#2686)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d91644fd..0a4ecaf47 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -136,7 +136,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
- java-version: 11
+ java-version: 17
cache: "gradle"
- name: Install dependencies
@@ -423,8 +423,8 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: temurin
- # here we intentionally use java 8 so that we also verify java 11 compiles to version 8
- java-version: 8
+ # here we intentionally use an older version so that we also verify java 17 compiles to it
+ java-version: 11
cache: "gradle"
- name: Install openssl and certificates (for SSL tests)