Skip to content

Commit

Permalink
use explicit URL for unreleased JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaglin committed Jul 4, 2023
1 parent 6578a74 commit 4d15804
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ jobs:
include:
- os: windows
jvm: 17
- jvm: 21
jvm_url: https://download.java.net/java/early_access/jdk21/29/GPL/openjdk-21-ea+29_linux-x64_bin.tar.gz
name: ${{ matrix.os }} / JDK${{ matrix.jvm }}
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1
- if: ${{ matrix.jvm_url != '' }}
uses: coursier/setup-action@v1
with:
jvm: ${{ matrix.jvm_url }}
- if: ${{ matrix.jvm_url == '' }}
uses: coursier/setup-action@v1
with:
jvm: temurin:${{ matrix.jvm }}
jvm: temurin:${{ matrix.jvm }}
- if: ${{ matrix.os != 'windows' }}
run: sbt test
- if: ${{ matrix.os == 'windows' }}
Expand Down

0 comments on commit 4d15804

Please sign in to comment.