Skip to content

Commit f3bc4b8

Browse files
committed
Fix on codeql.yml
1 parent 54c2324 commit f3bc4b8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
steps:
4242
- name: Checkout repository
4343
uses: actions/checkout@v3
44+
- name: Set up JDK 17
45+
uses: actions/setup-java@v2
46+
with:
47+
java-version: 17
4448

4549
# Initializes the CodeQL tools for scanning.
4650
- name: Initialize CodeQL
@@ -57,8 +61,8 @@ jobs:
5761

5862
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5963
# If this step fails, then you should remove it and run the build manually (see below)
60-
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v2
64+
- name: Build with Maven
65+
run: mvn -B package --file pom.xml
6266

6367
# ℹ️ Command-line programs to run using the OS shell.
6468
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

0 commit comments

Comments
 (0)