Skip to content

Commit

Permalink
push.yml: test Java versions 11, 17, and 22 (in addition to 21)
Browse files Browse the repository at this point in the history
stephengold committed Jul 26, 2024
1 parent 583ea0f commit 46dcefe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -10,31 +10,31 @@ on:
branches: [ "master" ]

jobs:
MacOS-13:
Java11-MacOS:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: macOS-13
timeout-minutes: 9
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version: 11
- uses: actions/checkout@v4
- run: ./gradlew run --console=plain

MacOS-14:
Java17-MacOS:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: macOS-14
timeout-minutes: 9
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version: 17
- uses: actions/checkout@v4
- run: ./gradlew run --console=plain

Windows:
Java21-Windows:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: windows-2022
timeout-minutes: 9
@@ -47,15 +47,15 @@ jobs:
- run: ./gradlew run --console=plain
shell: bash

Linux:
Java22-Linux:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: ubuntu-24.04
timeout-minutes: 9
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
java-version: 22
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- run: ./gradlew run --console=plain

0 comments on commit 46dcefe

Please sign in to comment.