Skip to content

Commit

Permalink
fix(ci build): adjust CodeQL step (JDK 23 seems unsupported)
Browse files Browse the repository at this point in the history
- Restrict CodeQL initialization and analysis to Java versions other than 23 on Ubuntu

Signed-off-by: Art Shendrik <[email protected]>
  • Loading branch information
amal committed Nov 25, 2024
1 parent cb5337a commit 05b1ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# amend the `dependencyGuardBaseline` and `kotlinUpgradeYarnLock` task results

- name: Initialize CodeQL
if: matrix.os == 'ubuntu'
if: matrix.os == 'ubuntu' && matrix.java != '23'
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
compression-level: 9

- name: Perform CodeQL Analysis
if: matrix.os == 'ubuntu'
if: matrix.os == 'ubuntu' && matrix.java != '23'
timeout-minutes: 6
uses: github/codeql-action/analyze@v3
with:
Expand Down

0 comments on commit 05b1ef9

Please sign in to comment.