Skip to content

Commit 251f42c

Browse files
committed
Uses actions/setup-java@v3 to specify java 17
1 parent 0ceaae1 commit 251f42c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v3
3939

40+
- name: Setup Java 17
41+
uses: actions/setup-java@v3
42+
with:
43+
distribution: 'temurin' # See 'Supported distributions' for available options
44+
java-version: '17'
45+
4046
# Initializes the CodeQL tools for scanning.
4147
- name: Initialize CodeQL
4248
uses: github/codeql-action/init@v2

0 commit comments

Comments
 (0)