From cdb049956e338bed7197d417fde1a3fc340fad26 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Fri, 29 Sep 2023 17:32:20 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25235c86..c21b823e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: ${{ endsWith(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') }} uses: actions/setup-java@v2 with: java-version: ${{ matrix.java }}