Skip to content

Commit a7887b3

Browse files
committed
Trying JDK 17 for Savant runtime and JDK 21 for the build and tests
1 parent fcee646 commit a7887b3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
- uses: actions/setup-java@v4
1818
with:
1919
distribution: 'temurin'
20-
java-version: 21
20+
java-version: |
21+
17
22+
21
2123
- name: Install Savant Build
2224
run: |
2325
mkdir -p ~/dev/savant
@@ -28,12 +30,14 @@ jobs:
2830
ln -s savant-2.0.0-RC.7 current
2931
rm savant.tar.gz
3032
cat <<EOF > ~/.savant/plugins/org.savantbuild.plugin.java.properties
33+
17=${JAVA_HOME_17_X64}
3134
21=${JAVA_HOME_21_X64}
3235
EOF
3336
shell: bash
3437
- name: Run the build
3538
run: |
36-
export PATH=~/dev/savant/current/bin:$PATH
39+
export JAVA_HOME=${JAVA_HOME_17_X64}
40+
export PATH=~/dev/savant/current/bin:${JAVA_HOME}/bin:$PATH
3741
sb clean int
3842
shell: bash
3943
- name: Archive TestNG reports

0 commit comments

Comments
 (0)