File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2020 strategy :
2121 fail-fast : false
2222 matrix :
23- java_version : ['8', '11', '17']
23+ java_version : ['8', '11', '17', '21' ]
2424 env :
2525 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2626 steps :
3939 server-password : OSS_PASSWORD
4040 - name : Cache SonarCloud packages
4141 uses : actions/cache@v3
42- if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11 ' }}
42+ if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17 ' }}
4343 env :
4444 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
4545 with :
4949 - name : Run tests
5050 run : ./mvnw -V -B -ntp -ff verify jacoco:report
5151 - name : Static Analysis (Sonar)
52- if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11 ' }}
52+ if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17 ' }}
5353 env :
5454 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5555 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
Original file line number Diff line number Diff line change 1717 strategy :
1818 fail-fast : false
1919 matrix :
20- java_version : ['8', '11', '17']
20+ java_version : ['8', '11', '17', '21' ]
2121 env :
2222 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2323 steps :
3030 cache : ' maven'
3131 - name : Cache SonarCloud packages
3232 uses : actions/cache@v3
33- if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11 ' }}
33+ if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17 ' }}
3434 env :
3535 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
3636 with :
4040 - name : Run tests
4141 run : ./mvnw -V -B -ntp -ff verify
4242 - name : Static Analysis (Sonar)
43- if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '11 ' }}
43+ if : ${{ env.SONAR_TOKEN != null && env.SONAR_TOKEN != '' && matrix.java_version == '17 ' }}
4444 env :
4545 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4646 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
You can’t perform that action at this time.
0 commit comments