Install Java 17 Temurin
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 8af06d9..df9690f 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -48,6 +48,12 @@
- name: Checkout repository
uses: actions/checkout@v4
+ - name: Setup Temurin JDK
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: 17
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2