Skip to content

Commit

Permalink
[Misc] Add the step of downloading Jtreg in Actions
Browse files Browse the repository at this point in the history
Summary: CICD

Testing: CI pipline

Reviewers: lei.yul, sendaoYan

Issue: #858
  • Loading branch information
Accelerator1996 committed Aug 15, 2024
1 parent bc9221f commit 5756bea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/get-jtreg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@ runs:
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_11_X64"
if [ -n "$JAVA_HOME_11_X64" ]; then
jdk=$JAVA_HOME_11_X64
else
jdk=`which java`/..
fi
bash make/build.sh --jdk "$jdk"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
Expand Down

0 comments on commit 5756bea

Please sign in to comment.