Skip to content

Commit 637c762

Browse files
committed
Fix build
1 parent ffa5b5e commit 637c762

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/package.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up JDK 17
2424
uses: actions/setup-java@v3
2525
with:
26-
java-version: '17'
26+
java-version: '17.0.7+7'
2727
distribution: 'liberica'
2828
java-package: 'jdk+fx'
2929

pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
<groupId>org.apache.maven.plugins</groupId>
118118
<artifactId>maven-surefire-plugin</artifactId>
119119
<version>3.0.0-M9</version>
120+
<configuration>
121+
<jvm>${jlink.jdk.path}${file.separator}bin${file.separator}java</jvm>
122+
</configuration>
120123
</plugin>
121124
</plugins>
122125
</pluginManagement>
@@ -129,7 +132,7 @@
129132
<configuration>
130133
<release>${java.version}</release>
131134
<fork>true</fork>
132-
<executable>${jlink.jdk.path}/bin/javac</executable>
135+
<executable>${jlink.jdk.path}${file.separator}bin${file.separator}javac</executable>
133136
<source>17</source>
134137
<target>17</target>
135138
<compilerArgs>--enable-preview</compilerArgs>

0 commit comments

Comments
 (0)