Skip to content

Commit 2afc380

Browse files
Force java version in codeql.
Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>
1 parent 0e91a65 commit 2afc380

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
# a pull request then we can checkout the head.
3232
fetch-depth: 2
3333

34+
- name: Setup Java JDK
35+
uses: actions/setup-java@v4
36+
with:
37+
java-version: 17
38+
distribution: 'zulu'
39+
3440
# If this run was triggered by a pull request event, then checkout
3541
# the head of the pull request instead of the merge commit.
3642
- run: git checkout HEAD^2

0 commit comments

Comments
 (0)