File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 6060 architecture : x64
6161 cache : maven
6262
63+ - name : Find real JDK 8 path
64+ run : |
65+ JAVA_HOME_8=$(realpath $JAVA_HOME_8_X64)
66+ echo $JAVA_HOME_8
67+ echo "JAVA_HOME_8=$JAVA_HOME_8" >> $GITHUB_ENV
68+
6369 # We could have used `verify`, but `clean install` is required for the following:
6470 # 1. The build reproducibility report
6571 # For details, see: https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
Original file line number Diff line number Diff line change 7272 17
7373 cache : maven
7474
75+ - name : Find real JDK 8 path
76+ run : |
77+ JAVA_HOME_8=$(realpath $JAVA_HOME_8_X64)
78+ echo $JAVA_HOME_8
79+ echo "JAVA_HOME_8=$JAVA_HOME_8" >> $GITHUB_ENV
80+
7581 - name : Build with Maven
7682 timeout-minutes : 60
7783 shell : bash
Original file line number Diff line number Diff line change 8181 <files >
8282 <file >${java.home} /../lib/jconsole.jar</file >
8383 <file >${java.home} /../Classes/jconsole.jar</file >
84- <file >${env.JAVA_HOME_8_X64 } /lib/jconsole.jar</file >
84+ <file >${env.JAVA_HOME_8 } /lib/jconsole.jar</file >
8585 </files >
86- <message >Set the JAVA_HOME_8_X64 environment variable to the location of a JDK 8 installation.</message >
86+ <message >Set the JAVA_HOME_8 environment variable to the location of a JDK 8 installation.</message >
8787 <satisfyAny >true</satisfyAny >
8888 </requireFilesExist >
8989 </rules >
133133 <id >github-profile</id >
134134 <activation >
135135 <file >
136- <exists >${env.JAVA_HOME_8_X64 } /lib/jconsole.jar</exists >
136+ <exists >${env.JAVA_HOME_8 } /lib/jconsole.jar</exists >
137137 </file >
138138 </activation >
139139 <dependencies >
140140 <dependency >
141141 <groupId >com.sun</groupId >
142142 <artifactId >jconsole</artifactId >
143143 <scope >system</scope >
144- <systemPath >${env.JAVA_HOME_8_X64 } /lib/jconsole.jar</systemPath >
144+ <systemPath >${env.JAVA_HOME_8 } /lib/jconsole.jar</systemPath >
145145 <optional >true</optional >
146146 </dependency >
147147 </dependencies >
You can’t perform that action at this time.
0 commit comments