diff --git a/.github/workflows/codegen-preview.yml b/.github/workflows/codegen-preview.yml index d142925cee6..e2fa99d3a30 100644 --- a/.github/workflows/codegen-preview.yml +++ b/.github/workflows/codegen-preview.yml @@ -59,6 +59,7 @@ jobs: uses: actions/setup-java@v3 with: java-version: ${{ env.JAVA_VERSION }} + distribution: 'corretto' cache: 'gradle' - name: Install deps and setup environment run: |