From c47ebbb6207e412d012a2a65e2ce5ee679902997 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 29 Sep 2023 17:44:09 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8018665aa..ee1174dfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: java: 21 experimental: false - os: ubuntu-latest - java: 22-ea + java: EA experimental: true runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} @@ -52,7 +52,15 @@ jobs: access_token: ${{ github.token }} - name: 'Check out repository' uses: actions/checkout@v2 + - name: 'Set up JDK ${{ matrix.java }} from jdk.java.net' + if: ${{ matrix.java == 'EA' }} + uses: oracle-actions/setup-java@v1 + with: + website: jdk.java.net + release: ${{ matrix.java }} + cache: 'maven' - name: 'Set up JDK ${{ matrix.java }}' + if: ${{ matrix.java != 'EA' }} uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }}