Skip to content

Commit a3ff73a

Browse files
committed
build workflow
1 parent 22a07ff commit a3ff73a

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.github/workflows/check-build.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,26 @@ name: Build
4747
run-name: Build - ${{ github.event_name }}
4848

4949
jobs:
50-
...
50+
build:
51+
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
java_version:
55+
- 8
56+
- 11
57+
- 17
58+
- 21
59+
steps:
60+
- id: checkout
61+
name: Checkout repository
62+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
63+
- name: Setup Java
64+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12
65+
with:
66+
distribution: corretto
67+
java-version: ${{ matrix.java_version }}
68+
cache: maven
69+
- id: build-maven
70+
name: Build (Maven)
71+
run: |
72+
mvn -B install --file pom.xml

0 commit comments

Comments
 (0)