Skip to content

Commit 8284afe

Browse files
committed
ci: updated CI workflow to Java 21 and added macos
1 parent b7fb3cf commit 8284afe

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,18 @@ on:
1818
jobs:
1919
build:
2020

21-
runs-on: ubuntu-latest
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os: [ubuntu-latest, windows-latest, macos-latest]
2225

2326
steps:
2427
- uses: actions/checkout@v5
25-
- name: Set up JDK 11
28+
- name: Set up JDK 21
2629
uses: actions/setup-java@v5
2730
with:
28-
java-version: '11'
31+
java-version: '21'
2932
distribution: 'temurin'
3033
cache: maven
3134
- name: Build with Maven
3235
run: mvn -B verify jreleaser:assemble -Prelease --file pom.xml
33-
34-
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
35-
- name: Update dependency graph
36-
uses: advanced-security/maven-dependency-submission-action@df268dd1684fb95352aa463056e3cf41f9acb94b
37-
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)