Skip to content

Commit

Permalink
JDK 7 test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch authored Nov 12, 2024
1 parent 47d48c3 commit 38e3a17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 7
if: ${{ matrix.java == '7' }}
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8 # Override JDK version here, since Maven requires JDK 8 now
architecture: ${{ matrix.architecture }}
- name: Set up JDK ${{ matrix.java }}
if: ${{ matrix.java != '7' }}
uses: actions/setup-java@v4
with:
distribution: zulu
Expand Down

0 comments on commit 38e3a17

Please sign in to comment.