Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cushon authored Sep 30, 2023
1 parent cdb0499 commit 0a8f212
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 0a8f212

Please sign in to comment.