File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 java :
16- - 24
16+ - 21
1717 - 25
1818 fail-fast : false
1919 runs-on : [ubuntu-latest]
Original file line number Diff line number Diff line change 2020 - uses : actions/setup-java@v3
2121 with :
2222 distribution : temurin # Temurin is a distribution of adoptium
23- java-version : 25
23+ java-version : 21
2424 - uses : actions/checkout@v3
2525
2626 - name : Load secret
Original file line number Diff line number Diff line change @@ -140,12 +140,9 @@ opensearchplugin {
140140 classname = ' org.opensearch.performanceanalyzer.PerformanceAnalyzerPlugin'
141141}
142142
143- def javaVersion = JavaVersion . current(). isCompatibleWith(JavaVersion . VERSION_25 ) ?
144- JavaVersion . VERSION_25 : JavaVersion . VERSION_21
145-
146143java {
147- sourceCompatibility = javaVersion
148- targetCompatibility = javaVersion
144+ sourceCompatibility = JavaVersion . VERSION_21
145+ targetCompatibility = JavaVersion . VERSION_21
149146}
150147
151148compileJava {
You can’t perform that action at this time.
0 commit comments