Skip to content

Commit

Permalink
Revert testing with Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Sep 6, 2024
1 parent f949e71 commit 2080d86
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ permissions:
statuses: write

jobs:
verify:
compile:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [8, 11, 17, 22]
java: [8, 11]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout the repo
Expand All @@ -35,6 +35,25 @@ jobs:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: maven
- name: Compile with Maven
run: mvn -e --batch-mode compile -T 1C

verify:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java: [17, 22]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
cache: maven
- name: Test with Maven
env:
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Expand Down

0 comments on commit 2080d86

Please sign in to comment.