We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ceb71 commit 3c91b59Copy full SHA for 3c91b59
.github/actions/get-jtreg/action.yml
@@ -56,8 +56,14 @@ runs:
56
57
- name: 'Build JTReg'
58
run: |
59
+ # If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
60
+ if [[ '${{ runner.arch }}' == 'X64' ]]; then
61
+ JDK="$JAVA_HOME_17_X64"
62
+ else
63
+ JDK="$JAVA_HOME_17_arm64"
64
+ fi
65
# Build JTReg and move files to the proper locations
- bash make/build.sh --jdk "$(realpath bootjdk/jdk)"
66
+ bash make/build.sh --jdk "$JDK"
67
mkdir ../installed
68
mv build/images/jtreg/* ../installed
69
working-directory: jtreg/src
0 commit comments