File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -209,13 +209,6 @@ jobs:
209209 id : date
210210 run : echo "::set-output name=week_of_year::$(date +'%W' --utc)"
211211 - uses : actions/checkout@v4
212- # Java 8 tests use JDK 11 to compile and JDK 8 to run tests.
213- # Setting up Java 8 first to capture JAVA8_HOME.
214- - uses : actions/setup-java@v4
215- with :
216- java-version : ${{matrix.java}}
217- distribution : temurin
218- - run : echo "JAVA8_HOME=${JAVA_HOME}" >> $GITHUB_ENV
219212 - uses : actions/setup-java@v4
220213 with :
221214 java-version : 11
@@ -233,7 +226,11 @@ jobs:
233226 env :
234227 BUILD_SUBDIR : ${{matrix.package}}
235228 JOB_TYPE : install
236-
229+ - uses : actions/setup-java@v4
230+ with :
231+ java-version : ${{matrix.java}}
232+ distribution : temurin
233+ - run : java -version
237234 - name : Run tests in Java ${{matrix.java}} with the source compiled in Java 11
238235 run : |
239236 mvn test \
@@ -243,8 +240,7 @@ jobs:
243240 -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
244241 -Dmaven.wagon.http.retryHandler.count=5 \
245242 --also-make \
246- -T 1C \
247- -Djvm="${JAVA8_HOME}/bin/java"
243+ -T 1C
248244 env :
249245 BUILD_SUBDIR : ${{matrix.package}}
250246 JOB_TYPE : test
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments