Skip to content

Commit ec588eb

Browse files
authored
Update maven.yml
1 parent 9b4f92c commit ec588eb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/maven.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,24 @@ jobs:
4848
- name: Build with Maven
4949
run: mvn package --file pom.xml -B
5050

51+
build-macos:
52+
53+
runs-on: macOS-latest
54+
strategy:
55+
matrix:
56+
java: [11, 17, 19]
57+
58+
steps:
59+
- uses: actions/checkout@v3
60+
- name: Set up JDK ${{ matrix.java }}
61+
uses: actions/setup-java@v3
62+
with:
63+
distribution: 'temurin'
64+
java-version: ${{ matrix.java }}
65+
cache: 'maven'
66+
- name: Build with Maven
67+
run: mvn package --file pom.xml -B
68+
5169
build-sonar:
5270
name: Build
5371
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)