diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86a23d9..d1054ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ '23', '11' ] + java: [ '23', '17' ] os: [ 'macos', 'windows', 'ubuntu' ] # CodeQL supports ['c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support. @@ -87,7 +87,7 @@ jobs: - name: 'Set up JDK ${{ matrix.java }}' uses: actions/setup-java@v4 with: - distribution: ${{ matrix.java == '11' && 'temurin' || 'graalvm' }} + distribution: graalvm java-version: '${{ matrix.java }}' - name: 'Cached KMP things (Konan, Node, Yarn, Binaryen)' @@ -118,7 +118,7 @@ jobs: # amend the `dependencyGuardBaseline` and `kotlinUpgradeYarnLock` task results - name: Initialize CodeQL - if: matrix.os == 'ubuntu' && matrix.java == '11' + if: matrix.os == 'ubuntu' && matrix.java == '17' uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} @@ -189,7 +189,7 @@ jobs: compression-level: 9 - name: Perform CodeQL Analysis - if: matrix.os == 'ubuntu' && matrix.java == '11' + if: matrix.os == 'ubuntu' && matrix.java == '17' timeout-minutes: 6 uses: github/codeql-action/analyze@v3 with: