From 365e87c610332e628948773b36c8caaaff7f33b7 Mon Sep 17 00:00:00 2001 From: Aaron J Todd Date: Tue, 10 Oct 2023 12:56:59 -0400 Subject: [PATCH] bump jvm version for codegen diff preview --- .github/workflows/codegen-preview.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codegen-preview.yml b/.github/workflows/codegen-preview.yml index 97bd89f4773..d142925cee6 100644 --- a/.github/workflows/codegen-preview.yml +++ b/.github/workflows/codegen-preview.yml @@ -19,7 +19,7 @@ concurrency: cancel-in-progress: true env: - JAVA_VERSION: 11 + JAVA_VERSION: 17 RUN: ${{ github.run_id }}-${{ github.run_number }} DIFF2HTML_VERSION: 5.2.5 # Below is the set of services that are generated for codegen preview @@ -55,20 +55,11 @@ jobs: repository: 'awslabs/smithy-kotlin' fetch-depth: 0 path: 'smithy-kotlin' - - uses: actions/cache@v2 - name: Gradle Cache - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ env.JAVA_VERSION }} - + cache: 'gradle' - name: Install deps and setup environment run: | npm install -g diff2html-cli@${{ env.DIFF2HTML_VERSION }}