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: dragonwell-project#858
  • Loading branch information
Accelerator1996 committed Aug 15, 2024
1 parent bc9221f commit eeaa2aa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/actions/get-jtreg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ runs:
with:
var: JTREG_VERSION

- name: 'Cache for JTReg'
run: |
mkdir -p jtreg/installed
jtreg_ver=`echo "${{ steps.version.outputs.value }}" | sed 's/+/./g'`
curl -L -o jtreg.tar.gz https://compiler-tools.oss-cn-hangzhou.aliyuncs.com/jtreg/jtreg-${jtreg_ver}.tar.gz
tar xf jtreg.tar.gz -C jtreg/installed --strip-components=1
rm -rf jtreg.tar.gz
shell: bash

- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v4
Expand Down

0 comments on commit eeaa2aa

Please sign in to comment.