File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments