From 0a8f212b6e88fc377d0a0af91b2bead9bd44243a Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 29 Sep 2023 17:39:21 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c21b823e..192864f1 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 }} @@ -53,14 +53,14 @@ jobs: - name: 'Check out repository' uses: actions/checkout@v2 - name: 'Set up JDK ${{ matrix.java }} from jdk.java.net' - if: ${{ endsWith(matrix.java, '-ea') }} + 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: ${{ !endsWith(matrix.java, '-ea') }} + if: ${{ matrix.java != 'EA' }} uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }}