diff --git a/.github/actions/get-jtreg/action.yml b/.github/actions/get-jtreg/action.yml index 30e97ef5722..9e143551399 100644 --- a/.github/actions/get-jtreg/action.yml +++ b/.github/actions/get-jtreg/action.yml @@ -57,7 +57,7 @@ runs: - name: 'Build JTReg' run: | # Build JTReg and move files to the proper locations - bash make/build.sh --jdk "$(realpath bootjdk/jdk)" + bash make/build.sh --jdk "$JAVA_HOME_17_X64" mkdir ../installed mv build/images/jtreg/* ../installed working-directory: jtreg/src diff --git a/.github/actions/get-msys2/action.yml b/.github/actions/get-msys2/action.yml index f6de676a327..7dac1538536 100644 --- a/.github/actions/get-msys2/action.yml +++ b/.github/actions/get-msys2/action.yml @@ -30,7 +30,8 @@ runs: using: composite steps: - name: 'Install MSYS2' - uses: msys2/setup-msys2@v2 + # use a specific release of msys2/setup-msys2 to prevent jtreg build failures on newer release + uses: msys2/setup-msys2@7efe20baefed56359985e327d329042cde2434ff with: install: 'autoconf tar unzip zip make' path-type: minimal