We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 212af39 commit 016da56Copy full SHA for 016da56
.github/workflows/maven-ci.yml
@@ -0,0 +1,32 @@
1
+name: "Maven Build CI"
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout Source
15
+ uses: actions/checkout@v4
16
17
+ - name: Set Up JDK 17
18
+ uses: actions/setup-java@v4
19
+ with:
20
+ distribution: "temurin"
21
+ java-version: "17"
22
23
+ - name: Cache Maven Packages
24
+ uses: actions/cache@v4
25
26
+ path: ~/.m2
27
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys: |
29
+ ${{ runner.os }}-m2-
30
31
+ - name: Build with Maven
32
+ run: mvn -B clean install
0 commit comments