From 92b007fa888709a2808993d10a91b524fdf42bda Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Fri, 14 Oct 2022 13:16:18 +0800 Subject: java to use jdk 17 (#2686) --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') 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) -- cgit v1.2.1