8325444: GHA: JDK-8325194 causes a regression

Reviewed-by: gdams, shade, ihse
This commit is contained in:
Christoph Langer 2024-02-08 14:05:20 +00:00
parent e8ceb7189b
commit 3c91b59ef9

View File

@ -56,8 +56,14 @@ runs:
- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$(realpath bootjdk/jdk)"
bash make/build.sh --jdk "$JDK"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src