Skip to content

Commit

Permalink
Use JDK11 in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
rjust committed May 9, 2024
1 parent 2567dc4 commit f081362
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ jobs:
env:
JDK_OS: linux
JDK_ARCH: x64
JDK_VERSION: 8u192
JDK_VERSION: 11u17
JDK_DIR: jdk-11.0.17
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -26,7 +27,7 @@ jobs:
if [ ! -f "$JDK_FILE" ]; then mkdir -p ~/.java && (timeout 400 curl -O -s -S -L --retry 3 "$JDK_URL" || curl -O -L --retry 3 "$JDK_URL") && tar -xzf "$JDK_FILE" -C ~/.java; fi
- name: Setup JDK
run: |
export JAVA_HOME=$HOME/.java/jdk1.8.0_192
export JAVA_HOME=$HOME/.java/$JDK_DIR
echo "JAVA_HOME=$JAVA_HOME" >> $GITHUB_ENV
echo "$JAVA_HOME/bin" >> $GITHUB_PATH
- name: Install diffstat
Expand Down

0 comments on commit f081362

Please sign in to comment.