Skip to content

Commit

Permalink
ci: Matrix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
nstdio committed Dec 11, 2024
1 parent 0b1bf90 commit 5c4983d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ on:
jobs:
build:
name: Build
strategy:
matrix:
java-version: [ 8, 11, 17, 21, 23 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
java-version: ${{ matrix.java-version }}
cache: 'gradle'
- name: Build
run: ./gradlew build
- uses: codecov/codecov-action@v5
if: matrix.java-version == 8
with:
verbose: true

0 comments on commit 5c4983d

Please sign in to comment.