Skip to content

Commit 2273c36

Browse files
committed
maven build
1 parent c35940e commit 2273c36

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,15 @@ jobs:
4646

4747
# Initializes the CodeQL tools for scanning.
4848

49-
# Automatically attempts to build Java (Maven/Gradle)
50-
- name: Autobuild
51-
uses: github/codeql-action/autobuild@v3
49+
- name: Checkout repository
50+
uses: actions/checkout@v4
51+
52+
- name: Set up JDK
53+
uses: actions/setup-java@v4
54+
with:
55+
java-version: '11' # Specify the JDK version your project needs
56+
distribution: 'temurin'
57+
cache: maven
5258

5359
- name: Initialize CodeQL
5460
uses: github/codeql-action/init@v3
@@ -71,11 +77,7 @@ jobs:
7177
- if: matrix.build-mode == 'manual'
7278
shell: bash
7379
run: |
74-
echo 'If you are using a "manual" build mode for one or more of the' \
75-
'languages you are analyzing, replace this with the commands to build' \
76-
'your code, for example:'
77-
echo ' make bootstrap'
78-
echo ' make release'
80+
mvn -B clean install -DskipTests
7981
8082
- name: Perform CodeQL Analysis
8183
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)