File tree Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Expand file tree Collapse file tree 2 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,22 @@ jobs:
2323 language : [ 'java' ]
2424
2525 steps :
26- - name : Checkout repository
27- uses : actions/checkout@v3
26+ - name : Checkout repository
27+ uses : actions/checkout@v3
2828
29- - name : Initialize CodeQL
30- uses : github/codeql-action/init@v2
31- with :
32- languages : ${{ matrix.language }}
29+ - name : Initialize CodeQL
30+ uses : github/codeql-action/init@v2
31+ with :
32+ languages : ${{ matrix.language }}
3333
34- - name : Build project
35- run : ./gradlew build
34+ - name : Set up JDK
35+ uses : actions/setup-java@v3
36+ with :
37+ java-version : ' 23' # Or your actual Java version
38+ distribution : ' temurin'
3639
37- - name : Perform CodeQL Analysis
38- uses : github/codeql-action/analyze@v2
40+ - name : Build project with Maven
41+ run : mvn clean install
42+
43+ - name : Perform CodeQL Analysis
44+ uses : github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - name : Checkout code
15- uses : actions/checkout@v3
14+ - name : Checkout code
15+ uses : actions/checkout@v3
1616
17- - name : Set up JDK
18- uses : actions/setup-java@v3
19- with :
20- java-version : ' 17 '
21- distribution : ' temurin'
17+ - name : Set up JDK
18+ uses : actions/setup-java@v3
19+ with :
20+ java-version : ' 23 '
21+ distribution : ' temurin'
2222
23- - name : Build with Maven
24- run : mvn clean install
23+ - name : Build with Maven
24+ run : mvn clean install
You can’t perform that action at this time.
0 commit comments